Skip to content

Commit

Permalink
validator: unify and colorize help (anza-xyz#2323)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Jul 29, 2024
1 parent 298eb42 commit e05dbe7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions validator/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ pub fn app<'a>(version: &'a str, default_args: &'a DefaultArgs) -> App<'a, 'a> {
return App::new(crate_name!())
.about(crate_description!())
.version(version)
.setting(AppSettings::VersionlessSubcommands)
.setting(AppSettings::InferSubcommands)
.global_setting(AppSettings::ColoredHelp)
.global_setting(AppSettings::InferSubcommands)
.global_setting(AppSettings::UnifiedHelpMessage)
.global_setting(AppSettings::VersionlessSubcommands)
.arg(
Arg::with_name(SKIP_SEED_PHRASE_VALIDATION_ARG.name)
.long(SKIP_SEED_PHRASE_VALIDATION_ARG.long)
Expand Down

0 comments on commit e05dbe7

Please sign in to comment.