Skip to content

Commit 2bbed60

Browse files
silvin-lubeckirumpl
authored andcommitted
Update shell completion scripts
Signed-off-by: Silvin Lubecki <[email protected]>
1 parent b9fdc95 commit 2bbed60

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

contrib/completion/fish/docker.fish

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ complete -c docker -A -f -n '__fish_seen_subcommand_from export' -a '(__fish_pri
307307

308308
# history
309309
complete -c docker -f -n '__fish_docker_no_subcommand' -a history -d 'Show the history of an image'
310-
complete -c docker -A -f -n '__fish_seen_subcommand_from history' -l format -d 'Pretty-print images using a Go template'
310+
complete -c docker -A -f -n '__fish_seen_subcommand_from history' -l format -d 'Format the output using the given Go template'
311311
complete -c docker -A -f -n '__fish_seen_subcommand_from history' -l help -d 'Print usage'
312312
complete -c docker -A -f -n '__fish_seen_subcommand_from history' -s H -l human -d 'Print sizes and dates in human readable format'
313313
complete -c docker -A -f -n '__fish_seen_subcommand_from history' -l no-trunc -d "Don't truncate output"
@@ -319,7 +319,7 @@ complete -c docker -f -n '__fish_docker_no_subcommand' -a images -d 'List images
319319
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -s a -l all -d 'Show all images (default hides intermediate images)'
320320
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -l digests -d 'Show digests'
321321
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -s f -l filter -d 'Filter output based on conditions provided'
322-
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -l format -d 'Pretty-print images using a Go template'
322+
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -l format -d 'Format the output using the given Go template'
323323
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -l help -d 'Print usage'
324324
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -l no-trunc -d "Don't truncate output"
325325
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -s q -l quiet -d 'Only show image IDs'

contrib/completion/zsh/_docker

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ __docker_container_subcommand() {
803803
"($help -a --all)"{-a,--all}"[Show all containers]" \
804804
"($help)--before=[Show only container created before...]:containers:__docker_complete_containers" \
805805
"($help)*"{-f=,--filter=}"[Filter values]:filter:__docker_complete_ps_filters" \
806-
"($help)--format=[Pretty-print containers using a Go template]:template: " \
806+
"($help)--format=[Format the output using the given Go template]:template: " \
807807
"($help -l --latest)"{-l,--latest}"[Show only the latest created container]" \
808808
"($help -n --last)"{-n=,--last=}"[Show n last created containers (includes all states)]:n:(1 5 10 25 50)" \
809809
"($help)--no-trunc[Do not truncate output]" \
@@ -908,7 +908,7 @@ __docker_container_subcommand() {
908908
_arguments $(__docker_arguments) \
909909
$opts_help \
910910
"($help -a --all)"{-a,--all}"[Show all containers (default shows just running)]" \
911-
"($help)--format=[Pretty-print images using a Go template]:template: " \
911+
"($help)--format=[Format the output using the given Go template]:template: " \
912912
"($help)--no-stream[Disable streaming stats and only pull the first result]" \
913913
"($help)--no-trunc[Do not truncate output]" \
914914
"($help -)*:containers:__docker_complete_running_containers" && ret=0
@@ -1061,7 +1061,7 @@ __docker_image_subcommand() {
10611061
"($help -a --all)"{-a,--all}"[Show all images]" \
10621062
"($help)--digests[Show digests]" \
10631063
"($help)*"{-f=,--filter=}"[Filter values]:filter:__docker_complete_images_filters" \
1064-
"($help)--format=[Pretty-print images using a Go template]:template: " \
1064+
"($help)--format=[Format the output using the given Go template]:template: " \
10651065
"($help)--no-trunc[Do not truncate output]" \
10661066
"($help -q --quiet)"{-q,--quiet}"[Only show image IDs]" \
10671067
"($help -): :__docker_complete_repositories" && ret=0
@@ -1293,7 +1293,7 @@ __docker_network_subcommand() {
12931293
$opts_help \
12941294
"($help)--no-trunc[Do not truncate the output]" \
12951295
"($help)*"{-f=,--filter=}"[Provide filter values]:filter:__docker_network_complete_ls_filters" \
1296-
"($help)--format=[Pretty-print networks using a Go template]:template: " \
1296+
"($help)--format=[Format the output using the given Go template]:template: " \
12971297
"($help -q --quiet)"{-q,--quiet}"[Only display network IDs]" && ret=0
12981298
;;
12991299
(prune)
@@ -2051,7 +2051,7 @@ __docker_service_subcommand() {
20512051
_arguments $(__docker_arguments) \
20522052
$opts_help \
20532053
"($help)*"{-f=,--filter=}"[Filter output based on conditions provided]:filter:__docker_service_complete_ls_filters" \
2054-
"($help)--format=[Pretty-print services using a Go template]:template: " \
2054+
"($help)--format=[Format the output using the given Go template]:template: " \
20552055
"($help -q --quiet)"{-q,--quiet}"[Only display IDs]" && ret=0
20562056
;;
20572057
(rm|remove)
@@ -2254,7 +2254,7 @@ __docker_stack_subcommand() {
22542254
_arguments $(__docker_arguments) \
22552255
$opts_help \
22562256
"($help)*"{-f=,--filter=}"[Filter output based on conditions provided]:filter:__docker_stack_complete_services_filters" \
2257-
"($help)--format=[Pretty-print services using a Go template]:template: " \
2257+
"($help)--format=[Format the output using the given Go template]:template: " \
22582258
"($help -q --quiet)"{-q,--quiet}"[Only display IDs]" \
22592259
"($help -):stack:__docker_complete_stacks" && ret=0
22602260
;;
@@ -2521,7 +2521,7 @@ __docker_volume_subcommand() {
25212521
_arguments $(__docker_arguments) \
25222522
$opts_help \
25232523
"($help)*"{-f=,--filter=}"[Provide filter values]:filter:__docker_volume_complete_ls_filters" \
2524-
"($help)--format=[Pretty-print volumes using a Go template]:template: " \
2524+
"($help)--format=[Format the output using the given Go template]:template: " \
25252525
"($help -q --quiet)"{-q,--quiet}"[Only display volume names]" && ret=0
25262526
;;
25272527
(prune)

0 commit comments

Comments
 (0)