Browse Source

fix cli flag reference

master
David Haukeness 5 years ago
parent
commit
e35783f7ed
No known key found for this signature in database
GPG Key ID: 54F2372DDB7F9462
  1. 2
      args.go

2
args.go

@ -17,7 +17,7 @@ func (b *bot) parseArgs(args []string) error { @@ -17,7 +17,7 @@ func (b *bot) parseArgs(args []string) error {
flags := flag.NewFlagSet(args[0], flag.ExitOnError)
cliConfig := botConfig{}
flags.BoolVar(&cliConfig.Debug, "debug", false, "enables command debugging to stdout")
flags.StringVar(&cliConfig.LogConvIDStr, "log-convid", "", "sets the keybase chat1.ConvIDStr to log to for feedback")
flags.StringVar(&cliConfig.LogConvIDStr, "log-convid", "", "sets the keybase chat1.ConvIDStr to log debugging to keybase chat.")
if err := flags.Parse(args[1:]); err != nil {
return err
}

Loading…
Cancel
Save