Add a short flag for docker stack deploy

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 7b35599e2d
Component: cli
This commit is contained in:
Daniel Nephin
2016-11-24 16:11:38 -05:00
parent 3a6ac9f773
commit 2e594e381b

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