docs/api/client/swarm
Sebastiaan van Stijn 45920009cc 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>
(cherry picked from commit 4f0b5105524649169d765bb94c2806209ab21904)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-07-25 23:15:41 -07: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-25 23:15:41 -07:00
inspect.go Remove dead code for "inspect --pretty" 2016-07-25 23:14:58 -07:00
join.go Use flag constants for swarm flag. 2016-06-30 16:47:39 -07:00
leave.go Don't automagically add "[OPTIONS]" to usage 2016-07-25 23:15:41 -07:00
opts.go Add support for comma-separated --auto-accept syntax. 2016-07-12 15:50:36 -07:00
opts_test.go Add support for comma-separated --auto-accept syntax. 2016-07-12 15:50:36 -07:00
secret.go Generate a swarm joining secret if none is specified 2016-07-08 15:33:27 -07:00
update.go Don't automagically add "[OPTIONS]" to usage 2016-07-25 23:15:41 -07:00