Skip to content

Commit

Permalink
Prevent clap from switching to multiline format for short help
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison committed Jan 19, 2022
1 parent 3aed51c commit 0f2b48d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------
Expand Down Expand Up @@ -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.
///
Expand Down

0 comments on commit 0f2b48d

Please sign in to comment.