summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2022-01-19 08:47:45 -0500
committerDan Davison <dandavison7@gmail.com>2022-01-19 08:47:45 -0500
commit73d900ab351f595444bfd0ffdc111c92aa08f0cd (patch)
tree6c1293f5920288980ebb4b50b03e9cde12dfcdad
parent0f2b48dd6257a33458c126bf033e39059ce0fe0d (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
-rw-r--r--src/cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 88785c8e..57eaff86 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -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
----------