mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 19:45:29 +00:00
Add ls
as an alternative alias for listing
This commit is contained in:
parent
ab675e8dbb
commit
c88d121ecc
@ -23,6 +23,7 @@ Categories Used:
|
|||||||
### Improvements
|
### Improvements
|
||||||
|
|
||||||
- Multi-threaded compression for gzip and snappy using gzp [\#348](https://github.com/ouch-org/ouch/pull/348) ([figsoda](https://github.com/figsoda))
|
- Multi-threaded compression for gzip and snappy using gzp [\#348](https://github.com/ouch-org/ouch/pull/348) ([figsoda](https://github.com/figsoda))
|
||||||
|
- Add `ls` as an alternative alias for listing [\#360](https://github.com/ouch-org/ouch/pull/360) ([orhun](https://github.com/orhun))
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ Ouch has three main subcommands:
|
|||||||
|
|
||||||
- `ouch decompress` (alias `d`)
|
- `ouch decompress` (alias `d`)
|
||||||
- `ouch compress` (alias `c`)
|
- `ouch compress` (alias `c`)
|
||||||
- `ouch list` (alias `l`)
|
- `ouch list` (alias `l` or `ls`)
|
||||||
|
|
||||||
## Decompressing
|
## Decompressing
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ pub enum Subcommand {
|
|||||||
output_dir: Option<PathBuf>,
|
output_dir: Option<PathBuf>,
|
||||||
},
|
},
|
||||||
/// List contents of an archive
|
/// List contents of an archive
|
||||||
#[command(visible_alias = "l")]
|
#[command(visible_aliases = ["l", "ls"])]
|
||||||
List {
|
List {
|
||||||
/// Archives whose contents should be listed
|
/// Archives whose contents should be listed
|
||||||
#[arg(required = true, num_args = 1..)]
|
#[arg(required = true, num_args = 1..)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user