1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #21645 from albers/completion-history--human

bash completion for `docker history --human`
This commit is contained in:
Vincent Demeester 2016-03-30 12:19:47 +02:00
commit 4745656e18

View file

@ -1078,7 +1078,7 @@ _docker_help() {
_docker_history() { _docker_history() {
case "$cur" in case "$cur" in
-*) -*)
COMPREPLY=( $( compgen -W "--help --no-trunc --quiet -q" -- "$cur" ) ) COMPREPLY=( $( compgen -W "--help --human=false -H=false --no-trunc --quiet -q" -- "$cur" ) )
;; ;;
*) *)
local counter=$(__docker_pos_first_nonflag) local counter=$(__docker_pos_first_nonflag)