docker/runconfig
Dan Walsh a2b529ead2 --help option and help command should print to stdout not stderr
--help and help are successful commands so output should not go to error.

    QE teams have requested this change, also users doing docker help | less
    or docker run --help | less would expect this to work.

    Usage statement should only be printed when the user asks for it.
    Errors should print error message and then suggest the docker COMMAND --help
    command to see usage information.

    The current behaviour causes the user to have to search for the error message
    and sometimes scrolls right off the screen.  For example a error on a
    "docker run" command is very difficult to diagnose.

    Finally erros should always exit with a non 0 exit code, if the user
    makes a CLI error.

Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)
2015-01-06 13:40:14 +01:00
..
compare.go Move volumesfrom to hostconfig 2014-04-08 21:45:06 +00:00
config.go Move security opts to HostConfig 2014-11-25 01:02:30 +02:00
config_test.go add ability to publish range of ports 2015-01-02 23:21:26 +00:00
exec.go --help option and help command should print to stdout not stderr 2015-01-06 13:40:14 +01:00
hostconfig.go Move security opts to HostConfig 2014-11-25 01:02:30 +02:00
merge.go Merge pull request #8770 from LK4D4/logrus_support 2014-10-27 09:05:24 -07:00
parse.go --help option and help command should print to stdout not stderr 2015-01-06 13:40:14 +01:00
parse_test.go Remove unused sysinfo parameter to runconfig.Parse 2014-11-14 18:20:54 -08:00