mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-15 00:44:33 +00:00
cli_util: Remove unnecessary value_name attribute to no_pager flag
The value_name is not necessary for boolean flags.
This commit is contained in:
parent
f166fd0726
commit
4a7295eead
1 changed files with 1 additions and 1 deletions
|
@ -2843,7 +2843,7 @@ pub struct EarlyArgs {
|
|||
// Option<bool>.
|
||||
pub quiet: Option<bool>,
|
||||
/// Disable the pager
|
||||
#[arg(long, value_name = "WHEN", global = true, action = ArgAction::SetTrue)]
|
||||
#[arg(long, global = true, action = ArgAction::SetTrue)]
|
||||
// Parsing with ignore_errors will crash if this is bool, so use
|
||||
// Option<bool>.
|
||||
pub no_pager: Option<bool>,
|
||||
|
|
Loading…
Reference in a new issue