mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Remove -h flag from completion and daemon reference
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>
This commit is contained in:
parent
2231c5161e
commit
ceb11d9660
5 changed files with 6 additions and 6 deletions
|
|
@ -16,7 +16,7 @@ or execute `docker help`:
|
|||
$ docker
|
||||
Usage: docker [OPTIONS] COMMAND [arg...]
|
||||
docker daemon [ --help | ... ]
|
||||
docker [ -h | --help | -v | --version ]
|
||||
docker [ --help | -v | --version ]
|
||||
|
||||
-H, --host=[]: The socket(s) to bind to in daemon mode, specified using one or more tcp://host:port, unix:///path/to/socket, fd://* or fd://socketfd.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue