mirror of https://github.com/docker/cli.git
Merge pull request #384 from albers/completion-redirections
Add support for redirections in bash completion for `docker save|load`
This commit is contained in:
commit
41a9507250
|
@ -2579,7 +2579,7 @@ _docker_image_inspect() {
|
||||||
|
|
||||||
_docker_image_load() {
|
_docker_image_load() {
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
--input|-i)
|
--input|-i|"<")
|
||||||
_filedir
|
_filedir
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
@ -2710,7 +2710,7 @@ _docker_image_rmi() {
|
||||||
|
|
||||||
_docker_image_save() {
|
_docker_image_save() {
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
--output|-o)
|
--output|-o|">")
|
||||||
_filedir
|
_filedir
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue