mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #28815 from dnephin/add-short-option
Add a short flag for docker stack deploy
This commit is contained in:
commit
c36c63b308
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ import (
|
|||
)
|
||||
|
||||
func addComposefileFlag(opt *string, flags *pflag.FlagSet) {
|
||||
flags.StringVar(opt, "compose-file", "", "Path to a Compose file")
|
||||
flags.StringVarP(opt, "compose-file", "c", "", "Path to a Compose file")
|
||||
}
|
||||
|
||||
func addBundlefileFlag(opt *string, flags *pflag.FlagSet) {
|
||||
|
|
|
@ -25,7 +25,7 @@ Aliases:
|
|||
|
||||
Options:
|
||||
--bundle-file string Path to a Distributed Application Bundle file
|
||||
--compose-file string Path to a Compose file
|
||||
-c, --compose-file string Path to a Compose file
|
||||
--help Print usage
|
||||
--with-registry-auth Send registry authentication details to Swarm agents
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue