Add bash completion for docker export --output
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
28ef366cea
commit
3ac19862f2
1 changed files with 8 additions and 1 deletions
|
@ -1071,9 +1071,16 @@ _docker_container_exec() {
|
|||
}
|
||||
|
||||
_docker_container_export() {
|
||||
case "$prev" in
|
||||
--output|-o)
|
||||
_filedir
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W "--help" -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W "--help --output -o" -- "$cur" ) )
|
||||
;;
|
||||
*)
|
||||
local counter=$(__docker_pos_first_nonflag)
|
||||
|
|
Loading…
Reference in a new issue