consul/command
Daniel Nephin 85e0338136 config: remove Args field from Flags
This field was populated for one reason, to test that it was empty.
Of all the callers, only a single one used this functionality. The rest
constructed a `Flags{}` struct which did not set Args.

I think this shows that the logic was in the wrong place. Only the agent
command needs to care about validating the args.

This commit removes the field, and moves the logic to the one caller
that cares.

Also fix some comments.
2020-06-16 12:49:53 -04:00
..
acl acl: allow auth methods created in the primary datacenter to optionally create global tokens (#7899) 2020-06-01 11:44:47 -05:00
agent config: remove Args field from Flags 2020-06-16 12:49:53 -04:00
catalog Convert the remaining calls to NewTestAgentWithFields 2020-03-31 17:14:55 -04:00
config config: add HookWeakDecodeFromSlice 2020-06-08 17:05:09 -04:00
connect Support envoy 1.14.2, 1.13.2, 1.12.4 (#8057) 2020-06-10 23:20:17 +02:00
debug Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
event Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
exec Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
flags cli: fix typo in -namespace help text (#7225) 2020-02-05 14:43:25 -06:00
forceleave Convert the remaining calls to NewTestAgentWithFields 2020-03-31 17:14:55 -04:00
helpers Centralized Config CLI (#5731) 2019-04-30 16:27:16 -07:00
info Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
intention Add connect expose CLI command 2020-06-05 14:54:29 -07:00
join Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
keygen Update default gossip encryption key size to 32 bytes 2019-07-30 09:45:41 -06:00
keyring Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
kv Add unconvert linter 2020-05-12 13:47:25 -04:00
leave Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
lock Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
login acl: add auth method for JWTs (#7846) 2020-05-11 20:59:29 -05:00
logout Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
maint Add unconvert linter 2020-05-12 13:47:25 -04:00
members Convert the remaining calls to NewTestAgentWithFields 2020-03-31 17:14:55 -04:00
monitor Rename NewTestAgentWithFields to StartTestAgent 2020-03-31 17:14:55 -04:00
operator Convert the remaining calls to NewTestAgentWithFields 2020-03-31 17:14:55 -04:00
reload Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
rtt Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
services Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
snapshot fix some flaky snapshot tests (#8015) 2020-06-03 14:18:52 -05:00
tls docs: fix filenames (#7453) 2020-03-17 21:00:45 +01:00
validate Move internal/ to sdk/ (#5568) 2019-03-27 08:54:56 -04:00
version acl: remove the deprecated `acl_enforce_version_8` option (#7991) 2020-05-29 16:16:03 -05:00
watch Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
commands_oss.go Add connect expose CLI command 2020-06-05 14:54:29 -07:00
registry.go Abandon daemonize for simpler solution (preserving history): 2018-06-25 12:24:10 -07:00