Minor cli help cleanup (#3786)

This commit is contained in:
Michael Vines 2019-04-15 13:36:14 -07:00 committed by GitHub
parent 784dbb00ab
commit 149d809e86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
//! A command-line executable for monitoring a network's gossip plane.
//! A command-line executable for monitoring a cluster's gossip plane.
use clap::{crate_description, crate_name, crate_version, App, Arg};
use solana::gossip_service::discover;
@ -29,7 +29,7 @@ fn main() -> Result<(), Box<dyn error::Error>> {
.value_name("HOST:PORT")
.takes_value(true)
.default_value(&network_string)
.help("Rendezvous with the network at this gossip entry point; defaults to 127.0.0.1:8001"),
.help("Rendezvous with the cluster at this gossip entry point"),
)
.arg(
Arg::with_name("num_nodes")
@ -62,7 +62,7 @@ fn main() -> Result<(), Box<dyn error::Error>> {
.long("timeout")
.value_name("SECS")
.takes_value(true)
.help("Seconds to wait for cluster to converge, then exit; default is forever"),
.help("Maximum time to wait for cluster to converge [default: wait forever]"),
)
.get_matches();