You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compressing an archive with --format, not all positions are supported and the error message isn't helpful.
Current Behavior
ouch compress a b c output --format tar.gz # 1
ouch compress a b c --format tar.gz output # 2
ouch compress a b --format tar.gz c output # 3
ouch compress a --format tar.gz b c output # 4
ouch compress --format tar.gz a b c output # 5
1 and 5 works, 2-4 doesn't.
Error message for 3:
$ ouch compress a b --format tar.gz c output
error: unexpected argument 'c' found
Usage: ouch compress [OPTIONS] <FILES>... <OUTPUT>
For more information, try '--help'.
To show that it also happens with a single file as input:
Version
0.4.2
Description
When compressing an archive with
--format
, not all positions are supported and the error message isn't helpful.Current Behavior
1 and 5 works, 2-4 doesn't.
Error message for
3
:To show that it also happens with a single file as input:
6 and 8 works, 7 doesn't.
Error message for
7
:Expected Behavior
1-8 should all work.
Additional Information
We should add more tests for CLI usage that cover these.
The text was updated successfully, but these errors were encountered: