1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/client/swarm
Sebastiaan van Stijn 4f0b510552
Don't automagically add "[OPTIONS]" to usage
This removes the logic to automatically
add [OPTIONS] to the usage output.

The current logic was broken if a command
only has deprecated or hidden flags, and
in many cases put the [OPTIONS] in the
wrong location.

Requiring the usage string to be set
manually gives more predictable results,
and shouldn't require much to maintain.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-07-19 00:07:19 +02:00
..
cmd.go Add experimental docker stack commands 2016-06-14 14:56:35 -04:00
init.go Don't automagically add "[OPTIONS]" to usage 2016-07-19 00:07:19 +02:00
inspect.go Remove dead code for "inspect --pretty" 2016-07-13 18:56:02 +02:00
join.go Use flag constants for swarm flag. 2016-06-20 11:04:37 -04:00
leave.go Don't automagically add "[OPTIONS]" to usage 2016-07-19 00:07:19 +02:00
opts.go Add support for comma-separated --auto-accept syntax. 2016-07-11 15:47:04 -07:00
opts_test.go Add support for comma-separated --auto-accept syntax. 2016-07-11 15:47:04 -07:00
secret.go Generate a swarm joining secret if none is specified 2016-07-06 13:04:50 -07:00
update.go Don't automagically add "[OPTIONS]" to usage 2016-07-19 00:07:19 +02:00