Remove shorthand flags for "mount", "pretty", and "no-resolve"

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2017-06-02 00:07:50 +00:00
committed by Tibor Vass
parent e3f04f5d20
commit c33bc7d99e
8 changed files with 16 additions and 16 deletions
+5 -5
View File
@@ -1600,7 +1600,7 @@ _docker_service_inspect() {
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--format -f --help --pretty -p" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--format -f --help --pretty" -- "$cur" ) )
;;
*)
__docker_complete_services
@@ -1689,7 +1689,7 @@ _docker_service_tasks() {
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--all -a --filter -f --help --no-resolve -n" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--all -a --filter -f --help --no-resolve" -- "$cur" ) )
;;
*)
local counter=$(__docker_pos_first_nonflag '--filter|-f')
@@ -1710,7 +1710,7 @@ _docker_service_update() {
--label -l
--limit-cpu
--limit-memory
--mount -m
--mount
--name
--network
--publish -p
@@ -1956,7 +1956,7 @@ _docker_node_inspect() {
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--format -f --help --pretty -p" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--format -f --help --pretty" -- "$cur" ) )
;;
*)
__docker_complete_nodes
@@ -2042,7 +2042,7 @@ _docker_node_tasks() {
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--all -a --filter -f --help --no-resolve -n" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--all -a --filter -f --help --no-resolve" -- "$cur" ) )
;;
*)
local counter=$(__docker_pos_first_nonflag '--filter|-f')