diff --git a/command/stack/opts.go b/command/stack/opts.go index 440d6099e3..74fe4f5343 100644 --- a/command/stack/opts.go +++ b/command/stack/opts.go @@ -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) {