Skip to content

Commit

Permalink
rename port flag
Browse files Browse the repository at this point in the history
  • Loading branch information
slamdev committed May 23, 2020
1 parent 29a7ced commit 86d3e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/listenCmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var listenCmd = &cobra.Command{
}

func init() {
listenCmd.PersistentFlags().IntP("service-port", "p", 8080, "service port")
listenCmd.PersistentFlags().IntP("svc-port", "p", 8080, "service port")
cobra.OnInitialize(func() {
fillWithEnvVars(listenCmd.Flags())
})
Expand Down

0 comments on commit 86d3e3b

Please sign in to comment.