Fix lighthouse account validator subcommands help text (#6091)

* create

* import, exit and list

* validator the rest

* FIx

* wallet subcommands

* Fix white spaces

* Revert "create"

This reverts commit 2eac633a58.

* Add global

* Merge remote-tracking branch 'origin/unstable' into cli-help
This commit is contained in:
chonghe
2024-07-26 09:21:05 +08:00
committed by GitHub
parent 24169b2faa
commit 8d175f6779
2 changed files with 3 additions and 1 deletions

View File

@@ -27,7 +27,8 @@ pub fn cli_app() -> Command {
.help("Prints help information")
.action(ArgAction::HelpLong)
.display_order(0)
.help_heading(FLAG_HEADER),
.help_heading(FLAG_HEADER)
.global(true),
)
.arg(
Arg::new(VALIDATOR_DIR_FLAG)

View File

@@ -22,6 +22,7 @@ pub fn cli_app() -> Command {
.action(ArgAction::HelpLong)
.display_order(0)
.help_heading(FLAG_HEADER)
.global(true)
)
.arg(
Arg::new(WALLETS_DIR_FLAG)