mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add docker ps --format
to bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
5d54f50751
commit
c465ba7bde
1 changed files with 2 additions and 2 deletions
|
@ -869,7 +869,7 @@ _docker_ps() {
|
||||||
compopt -o nospace
|
compopt -o nospace
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
-n)
|
--format|-n)
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -893,7 +893,7 @@ _docker_ps() {
|
||||||
|
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
-*)
|
-*)
|
||||||
COMPREPLY=( $( compgen -W "--all -a --before --filter -f --help --latest -l -n --no-trunc --quiet -q --size -s --since" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "--all -a --before --filter -f --format --help --latest -l -n --no-trunc --quiet -q --size -s --since" -- "$cur" ) )
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue