Merge pull request #2281 from mgeisler/patch-2

docs: Mention correct default value in term_width docstring
This commit is contained in:
Pavan Kumar Sunkara 2020-12-31 08:38:54 +00:00 committed by GitHub
commit dc3306c097
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1000,7 +1000,7 @@ impl<'help> App<'help> {
}
/// Sets the terminal width at which to wrap help messages. Defaults to
/// `120`. Using `0` will ignore terminal widths and use source formatting.
/// `100`. Using `0` will ignore terminal widths and use source formatting.
///
/// `clap` automatically tries to determine the terminal width on Unix,
/// Linux, OSX and Windows if the `wrap_help` cargo "feature" has been enabled