diff options
author | Dan Davison <dandavison7@gmail.com> | 2022-01-19 08:18:41 -0500 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2022-01-19 08:21:23 -0500 |
commit | 0f2b48dd6257a33458c126bf033e39059ce0fe0d (patch) | |
tree | cc3b00cc4ad4d05572a5c30d00e47ce24dd1e137 | |
parent | 3aed51cdc120cae73628fcce511c9124614f5e51 (diff) |
Prevent clap from switching to multiline format for short help
Ref https://github.com/clap-rs/clap/issues/3300
Fixes #377
-rw-r--r-- | src/cli.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -20,6 +20,7 @@ use crate::utils::bat::output::PagingMode; version, color = ColorChoice::Always, setting(AppSettings::DeriveDisplayOrder), + term_width(usize::MAX), after_long_help = "\ GIT CONFIG ---------- @@ -729,8 +730,7 @@ pub struct Opt { #[clap( long = "merge-conflict-theirs-diff-header-decoration-style", default_value = "box", - // See https://github.com/clap-rs/clap/issues/3300 - value_name = "STYLE> " + value_name = "STYLE" )] /// Style string for the decoration of the header above the 'theirs' merge conflict diff. /// |