Prechádzať zdrojové kódy

feat(cmd): add accurate usage for token flag

ayn2op 5 mesiacov pred
rodič
commit
085fe6ddd6
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      cmd/root.go

+ 1 - 1
cmd/root.go

@@ -72,7 +72,7 @@ var (
 
 func init() {
 	flags := rootCmd.Flags()
-	flags.StringVar(&token, "token", "", "authentication token")
+	flags.StringVar(&token, "token", "", "authentication token (default: $DISCORDO_TOKEN or keyring)")
 
 	flags.StringVar(&configPath, "config-path", config.DefaultPath(), "path of the configuration file")