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/node
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 4f0b510552)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-07-25 23:15:41 -07:00
..
accept.go Support node label update. 2016-07-25 23:15:26 -07:00
cmd.go
demote.go Support node label update. 2016-07-25 23:15:26 -07:00
inspect.go
list.go Don't automagically add "[OPTIONS]" to usage 2016-07-25 23:15:41 -07:00
opts.go Support node label update. 2016-07-25 23:15:26 -07:00
promote.go Support node label update. 2016-07-25 23:15:26 -07:00
remove.go
tasks.go
update.go Support node label update. 2016-07-25 23:15:26 -07:00