Skip to content

Commit

Permalink
docs(Term Width): adds details about set_term_width(0)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbknapp committed Aug 24, 2016
1 parent 7558261 commit 00b8205
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/app/mod.rs
Expand Up @@ -485,7 +485,7 @@ impl<'a, 'b> App<'a, 'b> {
}

/// Disables a single command, or [`SubCommand`], level setting.
///
///
/// See [`AppSettings`] for a full list of possibilities and examples.
///
/// # Examples
Expand Down Expand Up @@ -522,10 +522,11 @@ impl<'a, 'b> App<'a, 'b> {
for s in settings {
self.p.unset(*s);
}
self
self
}

/// Sets the terminal width at which to wrap help messages. Defaults to `120`.
/// Sets the terminal width at which to wrap help messages. Defaults to `120`. Using `0` will
/// ignore terminal widths and use source formatting.
///
/// `clap` automatically tries to determine the terminal width on Unix, Linux, and OSX if the
/// `wrap_help` cargo "feature" has been used while compiling. If the terminal width cannot be
Expand Down

0 comments on commit 00b8205

Please sign in to comment.