mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-30 19:23:50 +00:00
Allow --validator-dir to be specified after subcommands (#8329)
#3768 Made the --validator-dir flag global so that it can be specified in any order Co-Authored-By: Mike Jerred <mjerred.work@gmail.com> Co-Authored-By: chonghe <44791194+chong-he@users.noreply.github.com>
This commit is contained in:
@@ -28,6 +28,7 @@ pub fn cli_app() -> Command {
|
||||
"The path to search for validator directories. \
|
||||
Defaults to ~/.lighthouse/{network}/validators",
|
||||
)
|
||||
.global(true)
|
||||
.action(ArgAction::Set)
|
||||
.conflicts_with("datadir"),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user