// AddUser adds a flag to pass a user ID principal
AddUser adds a flag to pass a user ID principal
// AddUser adds a flag to pass a user ID principal
func (fs *flagSet) AddUser(userID *string) *flagutil.FlagOptions {
	flagName := "user"
	fs.StringVar(
		userID,
		flagName,
		"",
		fs.factory.Localizer.MustLocalize("kafka.acl.common.flag.user.description"),
	)
	_ = flagutil.RegisterUserCompletionFunc(fs.cmd, flagName, fs.factory)
	return flagutil.WithFlagOptions(fs.cmd, flagName)
}
func ( fs * flagSet ) AddUser ( userID * string ) * flagutil . FlagOptions { flagName := " " fs . StringVar ( userID , flagName , " " , fs . factory . Localizer . MustLocalize ( " " ) , ) _ = flagutil . RegisterUserCompletionFunc ( fs . cmd , flagName , fs . factory ) return flagutil . WithFlagOptions ( fs . cmd , flagName ) }
AddUser adds a flag to pass a user ID principal
AddUser adds a flag to pass a user ID principal