1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

Merge pull request #28815 from dnephin/add-short-option

Add a short flag for docker stack deploy
Upstream-commit: 60da1d9830
Component: cli
This commit is contained in:
Vincent Demeester
2016-11-25 21:18:09 +01:00
committed by GitHub

View File

@@ -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) {