mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 19:45:29 +00:00
Fix 40cee89: include review
This commit is contained in:
parent
942fef8ba1
commit
34cbe5746d
@ -7,7 +7,7 @@ readme = "README.md"
|
|||||||
repository = "https://github.com/ouch-org/ouch"
|
repository = "https://github.com/ouch-org/ouch"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
keywords = ["decompression", "compression", "zip", "tar", "gzip", "accessibility", "a11y"]
|
keywords = ["decompression", "compression", "zip", "tar", "gzip", "accessibility", "a11y"]
|
||||||
categories = ["command-line-utilities", "compression", "encoding", "accessibility"]
|
categories = ["command-line-utilities", "compression", "encoding"]
|
||||||
description = "A command-line utility for easily compressing and decompressing files and directories."
|
description = "A command-line utility for easily compressing and decompressing files and directories."
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
# Features
|
# Features
|
||||||
|
|
||||||
1. Easy to use.
|
1. Easy to use.
|
||||||
2. Accessibility (A11Y) mode via `--accessibility` or env var `ACCESSIBILITY`
|
2. Accessibility mode (A11Y) via `--accessibility` or `ACCESSIBILITY` env var (see [wiki page](https://github.com/ouch-org/ouch/wiki/Accessibility)).
|
||||||
3. Automatic formats detection.
|
3. Automatic formats detection.
|
||||||
4. Same usage syntax for all formats.
|
4. Same usage syntax for all formats.
|
||||||
5. Uses encoding and decoding streams to improve performance.
|
5. Uses encoding and decoding streams to improve performance.
|
||||||
|
@ -23,7 +23,7 @@ pub struct FileInArchive {
|
|||||||
|
|
||||||
/// Actually print the files
|
/// Actually print the files
|
||||||
pub fn list_files(archive: &Path, files: Vec<FileInArchive>, list_options: ListOptions) {
|
pub fn list_files(archive: &Path, files: Vec<FileInArchive>, list_options: ListOptions) {
|
||||||
println!("Archiv: {}", archive.display());
|
println!("Archive: {}", archive.display());
|
||||||
if list_options.tree {
|
if list_options.tree {
|
||||||
let tree: Tree = files.into_iter().collect();
|
let tree: Tree = files.into_iter().collect();
|
||||||
tree.print();
|
tree.print();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user