Skip to content

Commit

Permalink
refactor: change name of flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatsuki3939 committed Sep 27, 2023
1 parent e9af9ab commit 686252a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func newServeCmd() *cobra.Command {
},
}
cmd.Flags().StringP(FlagServeAddr, "a", ":9339", "Bind address of gNMI northbound API.")
cmd.Flags().StringP(FlagServeHttpAddr, "h", ":8080", "Bind address of http northbound API.")
cmd.Flags().StringP(FlagServeHttpAddr, "ah", ":8080", "Bind address of http northbound API.")
cmd.Flags().IntP(FlagSyncInterval, "", 10, "Interval to exec git-pull from status repo.")
cmd.Flags().BoolP(FlagPersistGitState, "", false, "Persist git workspace even when api call closed without performing hard-reset.")
mustBindToViper(cmd)
Expand Down

0 comments on commit 686252a

Please sign in to comment.