mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-05 02:55:31 +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
|
||||
|
||||
- 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
|
||||
|
||||
|
@ -35,7 +35,7 @@ Ouch has three main subcommands:
|
||||
|
||||
- `ouch decompress` (alias `d`)
|
||||
- `ouch compress` (alias `c`)
|
||||
- `ouch list` (alias `l`)
|
||||
- `ouch list` (alias `l` or `ls`)
|
||||
|
||||
## Decompressing
|
||||
|
||||
|
@ -72,7 +72,7 @@ pub enum Subcommand {
|
||||
output_dir: Option<PathBuf>,
|
||||
},
|
||||
/// List contents of an archive
|
||||
#[command(visible_alias = "l")]
|
||||
#[command(visible_aliases = ["l", "ls"])]
|
||||
List {
|
||||
/// Archives whose contents should be listed
|
||||
#[arg(required = true, num_args = 1..)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user