Skip to content

Commit

Permalink
Fix help text for modes, to make them more visible as modes.
Browse files Browse the repository at this point in the history
  • Loading branch information
bahner committed Feb 28, 2024
1 parent 4ba9be4 commit ed85ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/modes.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func init() {
pflag.Bool("pong", defaultPongMode, "Pong mode with automatic replies and no UI.")
viper.BindPFlag("mode.pong.enabled", pflag.Lookup("pong"))

pflag.Bool("relay", defaultRelayMode, "The relay to use for the p2p network.")
pflag.Bool("relay", defaultRelayMode, "Relay mode with no actor, to just listen and relay messages.")
viper.BindPFlag("mode.relay", pflag.Lookup("relay"))

pflag.Bool("debug", defaultDebugMode, "Enable debug mode. Adds pprof and other debug endpoints to the webserver.")
Expand Down

0 comments on commit ed85ae5

Please sign in to comment.