mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 03:55:28 +00:00
accept inserting flags in any position
This commit is contained in:
parent
5d21895d33
commit
3f3ee9b87f
@ -26,15 +26,15 @@ pub struct Opts {
|
||||
pub accessible: bool,
|
||||
|
||||
/// Ignores hidden files
|
||||
#[arg(short = 'H', long)]
|
||||
#[arg(short = 'H', long, global = true)]
|
||||
pub hidden: bool,
|
||||
|
||||
/// Silences output
|
||||
#[arg(short = 'q', long)]
|
||||
#[arg(short = 'q', long, global = true)]
|
||||
pub quiet: bool,
|
||||
|
||||
/// Ignores files matched by git's ignore files
|
||||
#[arg(short = 'g', long)]
|
||||
#[arg(short = 'g', long, global = true)]
|
||||
pub gitignore: bool,
|
||||
|
||||
/// Ouch and claps subcommands
|
||||
|
Loading…
x
Reference in New Issue
Block a user