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
Michal Minar 8a785792cd Exit with non-zero code on first argument parsing error
Ignoring return value of ParseFlags leads to exit code 0 if bad
arguments are supplied. This patch makes sure that subcommands exit
with non-zero code in such a case.

Signed-off-by: Michal Minar <miminar@redhat.com>
2015-01-06 13:46:38 +01:00
..
cli.go Exit with non-zero code on first argument parsing error 2015-01-06 13:46:38 +01:00
commands.go Exit with non-zero code on first argument parsing error 2015-01-06 13:46:38 +01:00
hijack.go Set HTTP upgrade headers when hijacking connection 2014-12-13 14:24:51 +01:00
utils.go Add support for docker exec to return cmd exitStatus 2014-11-25 17:49:25 -08:00