fix: fixes help output tests

This commit is contained in:
Kevin K 2018-08-01 22:09:09 -04:00
parent e1371ad15c
commit 49defad11b
No known key found for this signature in database
GPG key ID: 2E39D46AABC94DDD
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ impl<'a, 'b, 'c, 'z> Usage<'a, 'b, 'c, 'z> {
.unwrap_or_else(|| self.p.app.bin_name.as_ref().unwrap_or(&self.p.app.name));
usage.push_str(&*name);
let req_string = if incl_reqs {
self.get_required_usage_from(&[], None, true)
self.get_required_usage_from(&[], None, false)
.iter()
.fold(String::new(), |a, s| a + &format!(" {}", s)[..])
} else {

View file

@ -1397,7 +1397,7 @@ Will M.
does stuff
USAGE:
test [OPTIONS] --birthday-song <song> --fake <some>:<val>
test [OPTIONS] --fake <some>:<val> --birthday-song <song>
FLAGS:
-h, --help Prints help information