mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
ceb11d9660
All docker subcommands support `-h` as an alias for `--help` unless they have `-h` aliased to something else like `docker run`, which uses `-h` for `--hostname`. `-h` is not included in the help messages of the commands, though. It ist visible in * reference: only in `docker daemon` reference, see output of `grep -Rse --help=false docs` * man pages: only in `docker` man page see output of `grep -RF '**-h**' man` For consistency reasons, this commit removes `-h` as an alias for `--help` from the reference page, man page and the bash completion. Signed-off-by: Harald Albers <github@albersweb.de> |
||
---|---|---|
.. | ||
client.go | ||
common.go | ||
daemon.go | ||
daemon_linux.go | ||
daemon_none.go | ||
daemon_unix.go | ||
daemon_windows.go | ||
docker.go | ||
docker_windows.go | ||
flags.go | ||
flags_test.go | ||
README.md |
docker.go contains Docker's main function.
This file provides first line CLI argument parsing and environment variable setting.