Skip to content

Commit 84373d2

Browse files
committed
fix flag name typo
1 parent b2606a5 commit 84373d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (a *App) InitGlobalFlags() {
8686
a.RootCmd.PersistentFlags().BoolVarP(&a.Config.GlobalFlags.Debug, "debug", "d", false, "debug mode")
8787
a.RootCmd.PersistentFlags().BoolVarP(&a.Config.GlobalFlags.SkipVerify, "skip-verify", "", false, "skip verify tls connection")
8888
a.RootCmd.PersistentFlags().BoolVarP(&a.Config.GlobalFlags.ProxyFromEnv, "proxy-from-env", "", false, "use proxy from environment")
89-
a.RootCmd.PersistentFlags().IntVarP(&a.Config.GlobalFlags.MaxRcvMsgSize, "max-rvc-msg-size", "", 1024*1024*4, "max receive message size in bytes")
89+
a.RootCmd.PersistentFlags().IntVarP(&a.Config.GlobalFlags.MaxRcvMsgSize, "max-rcv-msg-size", "", 1024*1024*4, "max receive message size in bytes")
9090
a.RootCmd.PersistentFlags().StringVarP(&a.Config.GlobalFlags.Format, "format", "", "text", "output format, one of: text, json")
9191
//
9292
a.RootCmd.PersistentFlags().StringVarP(&a.Config.GlobalFlags.ElectionID, "election-id", "", "1:0", "gRIBI client electionID, format is high:low where both high and low are uint64")

0 commit comments

Comments
 (0)