From c36a0f1bf1d1b07e5c82243dc158e91a015a67cf Mon Sep 17 00:00:00 2001 From: TimZhang Date: Sat, 10 Jun 2017 16:05:39 +0800 Subject: [PATCH] Update completion about hyper-load --- contrib/completion/bash/hyper | 2 +- contrib/completion/fish/docker.fish | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/completion/bash/hyper b/contrib/completion/bash/hyper index 52afd00e8..ee106bc67 100644 --- a/contrib/completion/bash/hyper +++ b/contrib/completion/bash/hyper @@ -419,7 +419,7 @@ _hyper_load() { case "$cur" in -* ) - COMPREPLY=( $( compgen -W "--help --input -i --quiet -q" -- "$cur" ) ) + COMPREPLY=( $( compgen -W "--help --input -i --local -l --quiet -q" -- "$cur" ) ) ;; esac } diff --git a/contrib/completion/fish/docker.fish b/contrib/completion/fish/docker.fish index 17af1c017..f4105db90 100644 --- a/contrib/completion/fish/docker.fish +++ b/contrib/completion/fish/docker.fish @@ -216,7 +216,7 @@ complete -c docker -A -f -n '__fish_seen_subcommand_from kill' -s s -l signal -d complete -c docker -A -f -n '__fish_seen_subcommand_from kill' -a '(__fish_print_docker_containers running)' -d "Container" # load -complete -c docker -f -n '__fish_docker_no_subcommand' -a load -d 'Load an image from a tar archive' +complete -c docker -f -n '__fish_docker_no_subcommand' -a load -d 'Load a local image or a tar file' complete -c docker -A -f -n '__fish_seen_subcommand_from load' -l help -d 'Print usage' complete -c docker -A -f -n '__fish_seen_subcommand_from load' -s i -l input -d 'Read from a tar archive file, instead of STDIN'