mirror of https://github.com/docker/cli.git
contrib/completion: remove aufs, legacy overlay
The AuFS and (legacy) overlay storage drivers have been deprecated and removed, so remove them from the completion scripts. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
78efc987bb
commit
73fbcdea05
|
@ -2649,7 +2649,7 @@ _docker_daemon() {
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
--storage-driver|-s)
|
--storage-driver|-s)
|
||||||
COMPREPLY=( $( compgen -W "aufs btrfs overlay2 vfs zfs" -- "$(echo "$cur" | tr '[:upper:]' '[:lower:]')" ) )
|
COMPREPLY=( $( compgen -W "btrfs overlay2 vfs zfs" -- "$(echo "$cur" | tr '[:upper:]' '[:lower:]')" ) )
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
--storage-opt)
|
--storage-opt)
|
||||||
|
|
|
@ -2777,7 +2777,7 @@ __docker_subcommand() {
|
||||||
"($help)--raw-logs[Full timestamps without ANSI coloring]" \
|
"($help)--raw-logs[Full timestamps without ANSI coloring]" \
|
||||||
"($help)*--registry-mirror=[Preferred registry mirror]:registry mirror: " \
|
"($help)*--registry-mirror=[Preferred registry mirror]:registry mirror: " \
|
||||||
"($help)--seccomp-profile=[Path to seccomp profile]:path:_files -g \"*.json\"" \
|
"($help)--seccomp-profile=[Path to seccomp profile]:path:_files -g \"*.json\"" \
|
||||||
"($help -s --storage-driver)"{-s=,--storage-driver=}"[Storage driver to use]:driver:(aufs btrfs devicemapper overlay overlay2 vfs zfs)" \
|
"($help -s --storage-driver)"{-s=,--storage-driver=}"[Storage driver to use]:driver:(btrfs devicemapper overlay2 vfs zfs)" \
|
||||||
"($help)--selinux-enabled[Enable selinux support]" \
|
"($help)--selinux-enabled[Enable selinux support]" \
|
||||||
"($help)--shutdown-timeout=[Set the shutdown timeout value in seconds]:time: " \
|
"($help)--shutdown-timeout=[Set the shutdown timeout value in seconds]:time: " \
|
||||||
"($help)*--storage-opt=[Storage driver options]:storage driver options: " \
|
"($help)*--storage-opt=[Storage driver options]:storage driver options: " \
|
||||||
|
|
Loading…
Reference in New Issue