mirror of
https://github.com/clap-rs/clap
synced 2025-03-04 23:37:32 +00:00
docs(app): document that Windooze supports term width detection now
This commit is contained in:
parent
0d93d9b953
commit
85999ea7ad
1 changed files with 6 additions and 6 deletions
|
@ -530,9 +530,9 @@ impl<'a, 'b> App<'a, 'b> {
|
||||||
/// Sets the terminal width at which to wrap help messages. Defaults to `120`. Using `0` will
|
/// Sets the terminal width at which to wrap help messages. Defaults to `120`. Using `0` will
|
||||||
/// ignore terminal widths and use source formatting.
|
/// ignore terminal widths and use source formatting.
|
||||||
///
|
///
|
||||||
/// `clap` automatically tries to determine the terminal width on Unix, Linux, and OSX if the
|
/// `clap` automatically tries to determine the terminal width on Unix, Linux, OSX and Windows
|
||||||
/// `wrap_help` cargo "feature" has been used while compiling. If the terminal width cannot be
|
/// if the `wrap_help` cargo "feature" has been used while compiling. If the terminal width
|
||||||
/// determined, `clap` defaults to `120`.
|
/// cannot be determined, `clap` defaults to `120`.
|
||||||
///
|
///
|
||||||
/// **NOTE:** This setting applies globally and *not* on a per-command basis.
|
/// **NOTE:** This setting applies globally and *not* on a per-command basis.
|
||||||
///
|
///
|
||||||
|
@ -540,9 +540,9 @@ impl<'a, 'b> App<'a, 'b> {
|
||||||
///
|
///
|
||||||
/// # Platform Specific
|
/// # Platform Specific
|
||||||
///
|
///
|
||||||
/// Only Unix, Linux, and OSX support automatic determination of terminal width. Even on those
|
/// Only Unix, Linux, OSX and Windows support automatic determination of terminal width.
|
||||||
/// platforms, this setting is useful if for any reason the terminal width cannot be
|
/// Even on those platforms, this setting is useful if for any reason the terminal width
|
||||||
/// determined.
|
/// cannot be determined.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Reference in a new issue