mirror of https://github.com/docker/cli.git
Add support for redirections in bash completion for `docker save|load`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
7cf9e752d5
commit
1862ac1e63
|
@ -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