Tweak for appearance (#1351)

## Issue Addressed

This PR tweaks the appearance of description for `boot_node` subcommand. 👀 

![image](https://user-images.githubusercontent.com/1885716/87242856-97782680-c46b-11ea-9210-a161c630f942.png)
This commit is contained in:
Akihito Nakano 2020-07-13 03:48:20 +00:00
parent e6a8635b38
commit 3c7f2d651a

View File

@ -5,10 +5,10 @@ use clap::{App, Arg};
// TODO: Add DOS prevention CLI params
pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
App::new("boot_node")
.about("Start a special Lighthouse process that only serves as a discv5 boot-node. This
process will *not* import blocks or perform most typical beacon node functions. Instead, it
will simply run the discv5 service and assist nodes on the network to discover each other.
This is the recommended way to provide a network boot-node since it has a reduced attack
.about("Start a special Lighthouse process that only serves as a discv5 boot-node. This \
process will *not* import blocks or perform most typical beacon node functions. Instead, it \
will simply run the discv5 service and assist nodes on the network to discover each other. \
This is the recommended way to provide a network boot-node since it has a reduced attack \
surface compared to a full beacon node.")
.settings(&[clap::AppSettings::ColoredHelp])
.arg(