Merge pull request #504 from albers/completion-search--format

Add bash completion for `search --format`
This commit is contained in:
Sebastiaan van Stijn 2017-09-20 14:41:28 +02:00 committed by GitHub
commit da82dcb1db
1 changed files with 2 additions and 2 deletions

View File

@ -4294,14 +4294,14 @@ _docker_search() {
__docker_nospace __docker_nospace
return return
;; ;;
--limit) --format|--limit)
return return
;; ;;
esac esac
case "$cur" in case "$cur" in
-*) -*)
COMPREPLY=( $( compgen -W "--filter --help --limit --no-trunc" -- "$cur" ) ) COMPREPLY=( $( compgen -W "--filter -f --format --help --limit --no-trunc" -- "$cur" ) )
;; ;;
esac esac
} }