mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 12:05:46 +00:00
chore: fix tests
This commit is contained in:
parent
2fa285235f
commit
687662c153
@ -137,6 +137,7 @@ mod tests {
|
|||||||
gitignore: false,
|
gitignore: false,
|
||||||
format: None,
|
format: None,
|
||||||
// This is usually replaced in assertion tests
|
// This is usually replaced in assertion tests
|
||||||
|
password: None,
|
||||||
cmd: Subcommand::Decompress {
|
cmd: Subcommand::Decompress {
|
||||||
// Put a crazy value here so no test can assert it unintentionally
|
// Put a crazy value here so no test can assert it unintentionally
|
||||||
files: vec!["\x00\x11\x22".into()],
|
files: vec!["\x00\x11\x22".into()],
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
source: tests/ui.rs
|
source: tests/ui.rs
|
||||||
|
assertion_line: 119
|
||||||
expression: "output_to_string(ouch!(\"-h\"))"
|
expression: "output_to_string(ouch!(\"-h\"))"
|
||||||
---
|
---
|
||||||
A command-line utility for easily compressing and decompressing files and directories.
|
A command-line utility for easily compressing and decompressing files and directories.
|
||||||
@ -13,13 +14,13 @@ Commands:
|
|||||||
help Print this message or the help of the given subcommand(s)
|
help Print this message or the help of the given subcommand(s)
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-y, --yes Skip [Y/n] questions positively
|
-y, --yes Skip [Y/n] questions positively
|
||||||
-n, --no Skip [Y/n] questions negatively
|
-n, --no Skip [Y/n] questions negatively
|
||||||
-A, --accessible Activate accessibility mode, reducing visual noise [env: ACCESSIBLE=]
|
-A, --accessible Activate accessibility mode, reducing visual noise [env: ACCESSIBLE=]
|
||||||
-H, --hidden Ignores hidden files
|
-H, --hidden Ignores hidden files
|
||||||
-q, --quiet Silences output
|
-q, --quiet Silences output
|
||||||
-g, --gitignore Ignores files matched by git's ignore files
|
-g, --gitignore Ignores files matched by git's ignore files
|
||||||
-f, --format <FORMAT> Specify the format of the archive
|
-f, --format <FORMAT> Specify the format of the archive
|
||||||
-h, --help Print help (see more with '--help')
|
-p, --password <PASSWORD> decompress or list with password
|
||||||
-V, --version Print version
|
-h, --help Print help (see more with '--help')
|
||||||
|
-V, --version Print version
|
||||||
|
@ -40,6 +40,9 @@ Options:
|
|||||||
-f, --format <FORMAT>
|
-f, --format <FORMAT>
|
||||||
Specify the format of the archive
|
Specify the format of the archive
|
||||||
|
|
||||||
|
-p, --password <PASSWORD>
|
||||||
|
decompress or list with password
|
||||||
|
|
||||||
-h, --help
|
-h, --help
|
||||||
Print help (see a summary with '-h')
|
Print help (see a summary with '-h')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user