mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-08 20:45:29 +00:00
Merge pull request #329 from ouch-org/make-flags-positions-global
Accept inserting subcommand-independent flags in any position
This commit is contained in:
commit
6da32c497f
@ -27,6 +27,7 @@ Categories Used:
|
|||||||
### Improvements
|
### Improvements
|
||||||
|
|
||||||
- Allow ouch to decompress archive into existing folder [\#321](https://github.com/ouch-org/ouch/pull/321) ([a-moreira](https://github.com/a-moreira))
|
- Allow ouch to decompress archive into existing folder [\#321](https://github.com/ouch-org/ouch/pull/321) ([a-moreira](https://github.com/a-moreira))
|
||||||
|
- Accept inserting subcommand-independent flags in any position [\#329](https://github.com/ouch-org/ouch/pull/329) ([marcospb19](https://github.com/marcospb19))
|
||||||
|
|
||||||
## [0.4.0](https://github.com/ouch-org/ouch/compare/0.3.1...0.4.0) (2022-11-20)
|
## [0.4.0](https://github.com/ouch-org/ouch/compare/0.3.1...0.4.0) (2022-11-20)
|
||||||
|
|
||||||
|
@ -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