Skip to content

Commit

Permalink
Merge pull request #2998 from pseyfert/completion/zsh/volume
Browse files Browse the repository at this point in the history
[completion/zsh] add volume completion
  • Loading branch information
thaJeztah authored Jan 13, 2023
2 parents f1f12a3 + 35b42ef commit 1af9f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/zsh/_docker
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ __docker_container_subcommand() {
"($help)*--ulimit=[ulimit options]:ulimit: "
"($help)--userns=[Container user namespace]:user namespace:(host)"
"($help)--tmpfs[mount tmpfs]"
"($help)*-v[Bind mount a volume]:volume: "
"($help)*-v[Bind mount a volume]:volume:_directories -W / -P '/' -S '\:' -r '/ '"
"($help)--volume-driver=[Optional volume driver for the container]:volume driver:(local)"
"($help)*--volumes-from=[Mount volumes from the specified container]:volume: "
"($help -w --workdir)"{-w=,--workdir=}"[Working directory inside the container]:directory:_directories"
Expand Down

0 comments on commit 1af9f22

Please sign in to comment.