Skip to content

Commit

Permalink
v2.0: validator: unify and colorize help (backport of #2323) (#2337)
Browse files Browse the repository at this point in the history
validator: unify and colorize help (#2323)

(cherry picked from commit e05dbe7)

Co-authored-by: Brooks <[email protected]>
  • Loading branch information
mergify[bot] and brooksprumo authored Jul 30, 2024
1 parent 16dd41c commit bc6041d
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 @@ -72,8 +72,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 bc6041d

Please sign in to comment.