mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update zsh and bash completion scripts.
This is to update the zsh and bash completion script for 23367. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
parent
6c5c34d50d
commit
7fd2c80962
2 changed files with 2 additions and 1 deletions
|
@ -2853,7 +2853,7 @@ _docker_volume_ls() {
|
|||
_docker_volume_rm() {
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W "--help" -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W "--force -f --help" -- "$cur" ) )
|
||||
;;
|
||||
*)
|
||||
__docker_complete_volumes
|
||||
|
|
|
@ -1360,6 +1360,7 @@ __docker_volume_subcommand() {
|
|||
(rm)
|
||||
_arguments $(__docker_arguments) \
|
||||
$opts_help \
|
||||
"($help -f --force)"{-f,--force}"[Force the removal of one or more volumes]" \
|
||||
"($help -):volume:__docker_volumes" && ret=0
|
||||
;;
|
||||
(help)
|
||||
|
|
Loading…
Reference in a new issue