Browse code

Add zsh completion for 'docker ps --last'

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>

Steve Durrheimer authored on 2016/07/04 03:38:54
Showing 1 changed files
... ...
@@ -1181,7 +1181,7 @@ __docker_subcommand() {
1181 1181
                 "($help)*"{-f=,--filter=}"[Filter values]:filter:__docker_complete_ps_filters" \
1182 1182
                 "($help)--format[Pretty-print containers using a Go template]:format: " \
1183 1183
                 "($help -l --latest)"{-l,--latest}"[Show only the latest created container]" \
1184
-                "($help)-n[Show n last created containers, include non-running one]:n:(1 5 10 25 50)" \
1184
+                "($help -n --last)"{-n=,--last=}"[Show n last created containers (includes all states)]:n:(1 5 10 25 50)" \
1185 1185
                 "($help)--no-trunc[Do not truncate output]" \
1186 1186
                 "($help -q --quiet)"{-q,--quiet}"[Only show numeric IDs]" \
1187 1187
                 "($help -s --size)"{-s,--size}"[Display total file sizes]" \