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/plugin
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
..
cmd.go plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
cmd_experimental.go plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
disable.go Print plugin name on successful install, enable and disable. 2016-07-25 23:15:25 -07:00
enable.go Print plugin name on successful install, enable and disable. 2016-07-25 23:15:25 -07:00
inspect.go Update plugin command with defaulttag 2016-06-17 13:09:13 -07:00
install.go Don't automagically add "[OPTIONS]" to usage 2016-07-25 23:15:41 -07:00
list.go plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
push.go fix comments and handle err 2016-06-30 17:12:45 -07:00
remove.go Update plugin command with defaulttag 2016-06-17 13:09:13 -07:00
set.go Update plugin command with defaulttag 2016-06-17 13:09:13 -07:00