Skip to content

Commit

Permalink
Merge pull request #504 from albers/completion-search--format
Browse files Browse the repository at this point in the history
Add bash completion for `search --format`
  • Loading branch information
thaJeztah authored Sep 20, 2017
2 parents 16804b7 + f6219ac commit da82dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/completion/bash/docker
Original file line number Diff line number Diff line change
Expand Up @@ -4294,14 +4294,14 @@ _docker_search() {
__docker_nospace
return
;;
--limit)
--format|--limit)
return
;;
esac

case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--filter --help --limit --no-trunc" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--filter -f --format --help --limit --no-trunc" -- "$cur" ) )
;;
esac
}
Expand Down

0 comments on commit da82dcb

Please sign in to comment.