Fix usage for docker volume inspect and docker volume rm

For both commands, volume is _not_ optional. Several volumes may
be specified.
Both commands now use the same name (VOLUME) for the command argument.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 00eaa7e1f53d9100e95af80d8a05f8e77e380464
Component: engine
This commit is contained in:
Harald Albers
2015-09-08 09:02:16 -07:00
parent 1b5a4c8c22
commit c50d0a0555
5 changed files with 10 additions and 10 deletions

View File

@ -10,9 +10,9 @@ parent = "smn_cli"
# volume inspect
Usage: docker volume inspect [OPTIONS] [VOLUME NAME]
Usage: docker volume inspect [OPTIONS] VOLUME [VOLUME...]
Inspect a volume
Inspect one or more volumes
-f, --format= Format the output using the given go template.

View File

@ -10,13 +10,13 @@ parent = "smn_cli"
# volume rm
Usage: docker volume rm [OPTIONS] [VOLUME NAME]
Usage: docker volume rm [OPTIONS] VOLUME [VOLUME...]
Remove a volume
--help=false Print usage
Removes a volume. You cannot remove a volume that is in use by a container.
Removes one or more volumes. You cannot remove a volume that is in use by a container.
$ docker volume rm hello
hello