Merge pull request #24286 from sdurrheimer/zsh-completion-ps-last

Add zsh completion for 'docker ps --last'
This commit is contained in:
Sebastiaan van Stijn 2016-07-03 12:13:16 -07:00 committed by GitHub
commit 4ebe4e83ee

View file

@ -1181,7 +1181,7 @@ __docker_subcommand() {
"($help)*"{-f=,--filter=}"[Filter values]:filter:__docker_complete_ps_filters" \
"($help)--format[Pretty-print containers using a Go template]:format: " \
"($help -l --latest)"{-l,--latest}"[Show only the latest created container]" \
"($help)-n[Show n last created containers, include non-running one]:n:(1 5 10 25 50)" \
"($help -n --last)"{-n=,--last=}"[Show n last created containers (includes all states)]:n:(1 5 10 25 50)" \
"($help)--no-trunc[Do not truncate output]" \
"($help -q --quiet)"{-q,--quiet}"[Only show numeric IDs]" \
"($help -s --size)"{-s,--size}"[Display total file sizes]" \