diff options
| author | Dan Davison <dandavison7@gmail.com> | 2022-01-19 08:47:45 -0500 |
|---|---|---|
| committer | Dan Davison <dandavison7@gmail.com> | 2022-01-19 08:47:45 -0500 |
| commit | 73d900ab351f595444bfd0ffdc111c92aa08f0cd (patch) | |
| tree | 6c1293f5920288980ebb4b50b03e9cde12dfcdad /src/cli.rs | |
| parent | 0f2b48dd6257a33458c126bf033e39059ce0fe0d (diff) | |
clap: Use term_width(0) instead of term_width(usize::MAX)
0 means "no wrap"
https://github.com/clap-rs/clap/issues/3300#issuecomment-1015578541
Diffstat (limited to 'src/cli.rs')
| -rw-r--r-- | src/cli.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ use crate::utils::bat::output::PagingMode; version, color = ColorChoice::Always, setting(AppSettings::DeriveDisplayOrder), - term_width(usize::MAX), + term_width(0), after_long_help = "\ GIT CONFIG ---------- |
