print default --key_derivations only once (#650)

Since the default value is also embedded in the help string it appears twice in the output from `grin wallet help`.  This PR just removes the default from the help string.
This commit is contained in:
Morten Brøns-Pedersen 2018-01-23 19:37:56 +01:00 committed by Ignotus Peverell
parent 4be259e0de
commit 8710d52797

View file

@ -201,7 +201,7 @@ fn main() {
.arg(Arg::with_name("key_derivations") .arg(Arg::with_name("key_derivations")
.help("The number of keys possiblities to search for each output. \ .help("The number of keys possiblities to search for each output. \
Ideally, set this to a number greater than the number of outputs \ Ideally, set this to a number greater than the number of outputs \
you believe should belong to this seed/password. (Default 1000)") you believe should belong to this seed/password.")
.short("k") .short("k")
.long("key_derivations") .long("key_derivations")
.default_value("1000") .default_value("1000")