Merge pull request #1222 from thaJeztah/its_not_standard_but_its_in

Update --compose-file flag description to mention stdin
This commit is contained in:
Silvin
2018-07-30 16:23:29 +02:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@ -2214,7 +2214,7 @@ __docker_stack_subcommand() {
_arguments $(__docker_arguments) \
$opts_help \
"($help)--bundle-file=[Path to a Distributed Application Bundle file]:dab:_files -g \"*.dab\"" \
"($help -c --compose-file)"{-c=,--compose-file=}"[Path to a Compose file]:compose file:_files -g \"*.(yml|yaml)\"" \
"($help -c --compose-file)"{-c=,--compose-file=}"[Path to a Compose file, or '-' to read from stdin]:compose file:_files -g \"*.(yml|yaml)\"" \
"($help)--with-registry-auth[Send registry authentication details to Swarm agents]" \
"($help -):stack:__docker_complete_stacks" && ret=0
;;