From ba4e802b4f5870d914eeb8ae59e9949481ca62b0 Mon Sep 17 00:00:00 2001 From: Kyle Spiers Date: Sat, 5 May 2018 01:17:44 -0700 Subject: [PATCH] update docker History subcommand completions Signed-off-by: Kyle Spiers --- contrib/completion/fish/docker.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/completion/fish/docker.fish b/contrib/completion/fish/docker.fish index 0b74e59059..687dfd185d 100644 --- a/contrib/completion/fish/docker.fish +++ b/contrib/completion/fish/docker.fish @@ -301,7 +301,9 @@ complete -c docker -A -f -n '__fish_seen_subcommand_from export' -a '(__fish_pri # history complete -c docker -f -n '__fish_docker_no_subcommand' -a history -d 'Show the history of an image' +complete -c docker -A -f -n '__fish_seen_subcommand_from history' -l format -d 'Pretty-print images using a Go template' complete -c docker -A -f -n '__fish_seen_subcommand_from history' -l help -d 'Print usage' +complete -c docker -A -f -n '__fish_seen_subcommand_from history' -s H -l human -d 'Print sizes and dates in human readable format' complete -c docker -A -f -n '__fish_seen_subcommand_from history' -l no-trunc -d "Don't truncate output" complete -c docker -A -f -n '__fish_seen_subcommand_from history' -s q -l quiet -d 'Only show numeric IDs' complete -c docker -A -f -n '__fish_seen_subcommand_from history' -a '(__fish_print_docker_images)' -d "Image"