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

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

View File

@ -1078,7 +1078,7 @@ _docker_help() {
_docker_history() {
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)