1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/utils
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
..
daemon.go go fmt 2013-11-07 12:27:33 -08:00
flags.go Exit with non-zero code on first argument parsing error 2015-01-06 13:46:38 +01:00
http.go Use logrus everywhere for logging 2014-10-24 15:03:06 -07:00
jsonmessage.go Fix to avoid a compilation error of size_test.go with GCCGO due to float to int truncation 2014-11-25 18:12:22 +09:00
jsonmessage_test.go jsonmessage: added test and cleaned up others 2014-07-28 14:43:28 -04:00
progressreader.go Fix io.Reader ambiguity on EOF in progressreader 2014-07-25 19:26:27 -04:00
random.go Fixed up if statement 2014-06-10 10:02:00 -04:00
streamformatter.go Remove unused and racy "used" param from streamformatter 2014-06-02 21:43:07 +04:00
streamformatter_test.go Remove unused and racy "used" param from streamformatter 2014-06-02 21:43:07 +04:00
timeoutconn.go Use Timeout Conn wrapper to set read deadline for downloading layer 2014-05-27 22:50:04 -07:00
timeoutconn_test.go utils: add test for TimeoutConn 2014-06-07 15:11:57 -07:00
tmpdir.go Consolidate tmpdir implementations, include Windows 2014-11-14 18:20:53 -08:00
utils.go validate image ID properly & before load 2014-12-11 16:29:27 -05:00
utils_daemon.go Extract TreeSize to daemon build 2014-11-14 18:20:53 -08:00
utils_test.go Move git and url checks into pkg 2014-11-24 18:10:37 -05:00