diff --git a/CHANGELOG.md b/CHANGELOG.md index 7553950..032c17b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index e21441e..875fb7e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/opts.rs b/src/opts.rs index 8139647..c949a00 100644 --- a/src/opts.rs +++ b/src/opts.rs @@ -72,7 +72,7 @@ pub enum Subcommand { output_dir: Option, }, /// 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..)]