mirror of
https://github.com/moby/moby.git
synced 2026-08-04 15:11:00 +00:00
Add a short flag for docker stack deploy
Signed-off-by: Daniel Nephin <dnephin@docker.com>
(cherry picked from commit f1dd721b69)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
committed by
Victor Vieux
parent
99e1814731
commit
4b230af83f
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user