mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 12:05:46 +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,
|
pub accessible: bool,
|
||||||
|
|
||||||
/// Ignores hidden files
|
/// Ignores hidden files
|
||||||
#[arg(short = 'H', long)]
|
#[arg(short = 'H', long, global = true)]
|
||||||
pub hidden: bool,
|
pub hidden: bool,
|
||||||
|
|
||||||
/// Silences output
|
/// Silences output
|
||||||
#[arg(short = 'q', long)]
|
#[arg(short = 'q', long, global = true)]
|
||||||
pub quiet: bool,
|
pub quiet: bool,
|
||||||
|
|
||||||
/// Ignores files matched by git's ignore files
|
/// Ignores files matched by git's ignore files
|
||||||
#[arg(short = 'g', long)]
|
#[arg(short = 'g', long, global = true)]
|
||||||
pub gitignore: bool,
|
pub gitignore: bool,
|
||||||
|
|
||||||
/// Ouch and claps subcommands
|
/// Ouch and claps subcommands
|
||||||
|
Loading…
x
Reference in New Issue
Block a user