Adds colour help to bn and vc subcommands (#1811)

Adds coloured help to the bn and vc subcommands
This commit is contained in:
Age Manning
2020-10-23 04:16:34 +00:00
parent 2c7f362908
commit 64c5899d25
2 changed files with 2 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ use clap::{App, Arg};
pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
App::new("validator_client")
.visible_aliases(&["v", "vc", "validator"])
.setting(clap::AppSettings::ColoredHelp)
.about(
"When connected to a beacon node, performs the duties of a staked \
validator (e.g., proposing blocks and attestations).",