Skip to content

Commit

Permalink
fix: move shorthand to second place
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Feb 9, 2024
1 parent 719db5e commit 11295f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions commands/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ type GlobalFlagCommand struct {
}

func (c *GlobalFlagCommand) GlobalFlags(f *flag.FlagSet) {
f.StringVarP(&c.procfile, "P", "procfile", "Procfile", "path to a procfile")
f.StringVarP(&c.delimiter, "D", "delimiter", ":", "delimiter in use within procfile")
f.IntVarP(&c.defaultPort, "d", "default-port", 5000, "default port to use")
f.BoolVarP(&c.strict, "S", "strict", false, "strictly parse the Procfile")
f.StringVarP(&c.procfile, "procfile", "P", "Procfile", "path to a procfile")
f.StringVarP(&c.delimiter, "delimiter", "D", ":", "delimiter in use within procfile")
f.IntVarP(&c.defaultPort, "default-port", "d", 5000, "default port to use")
f.BoolVarP(&c.strict, "strict", "S", false, "strictly parse the Procfile")
}

func (c *GlobalFlagCommand) AutocompleteGlobalFlags() complete.Flags {
Expand Down

0 comments on commit 11295f1

Please sign in to comment.