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/network
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 Migrate network command to cobra 2016-06-06 10:28:52 +02:00
connect.go make cmd short short consistency and change docs 2016-06-30 21:17:51 +08:00
create.go better command docker network create -h output 2016-07-16 15:32:17 +08:00
disconnect.go make cmd short short consistency and change docs 2016-06-30 21:17:51 +08:00
inspect.go make cmd short short consistency and change docs 2016-06-30 21:17:51 +08:00
list.go Don't automagically add "[OPTIONS]" to usage 2016-07-19 00:07:19 +02:00
remove.go fix stdout and stderr in api client 2016-07-05 23:07:40 +08:00