mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
4f0b510552
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> |
||
---|---|---|
.. | ||
cobraadaptor | ||
flags | ||
cli.go | ||
error.go | ||
flagerrors.go | ||
required.go | ||
usage.go |