From 73d900ab351f595444bfd0ffdc111c92aa08f0cd Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Wed, 19 Jan 2022 08:47:45 -0500 Subject: 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 --- src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cli.rs') diff --git a/src/cli.rs b/src/cli.rs index 88785c8..57eaff8 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 ---------- -- cgit v1.2.3