forked from mirrors/jj
cli: remove unnecessary (?) ArgAction::Append
in $[clap]
I think "append" is the default for `Vec`-type fields.
This commit is contained in:
parent
dac80ef88c
commit
a2d2da4d48
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ use std::{fs, io};
|
|||
|
||||
use chrono::{FixedOffset, LocalResult, TimeZone, Utc};
|
||||
use clap::builder::NonEmptyStringValueParser;
|
||||
use clap::{ArgAction, ArgGroup, ArgMatches, CommandFactory, FromArgMatches, Subcommand};
|
||||
use clap::{ArgGroup, ArgMatches, CommandFactory, FromArgMatches, Subcommand};
|
||||
use itertools::Itertools;
|
||||
use jujutsu_lib::backend::{CommitId, Timestamp, TreeValue};
|
||||
use jujutsu_lib::commit::Commit;
|
||||
|
@ -715,7 +715,7 @@ enum BranchSubcommand {
|
|||
names: Vec<String>,
|
||||
|
||||
/// A glob pattern indicating branches to forget.
|
||||
#[arg(action(ArgAction::Append), long = "glob")]
|
||||
#[arg(long)]
|
||||
glob: Vec<String>,
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue