mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Merge pull request #32883 from albers/completion-history--format
Add bash completion for `history --format` Upstream-commit: 2881e2be587e5a16e3f1f5e9d5547263517c9c54 Component: engine
This commit is contained in:
@@ -2299,9 +2299,15 @@ _docker_image_build() {
|
||||
}
|
||||
|
||||
_docker_image_history() {
|
||||
case "$prev" in
|
||||
--format)
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W "--help --human=false -H=false --no-trunc --quiet -q" -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W "--format --help --human=false -H=false --no-trunc --quiet -q" -- "$cur" ) )
|
||||
;;
|
||||
*)
|
||||
local counter=$(__docker_pos_first_nonflag)
|
||||
|
||||
Reference in New Issue
Block a user