Skip to content

Error message for --format .tar.gz outputs empty extension #517

@marcospb19

Description

@marcospb19

Version

0.4.2

Description

When running

ouch compress LICENSE output --format .tar.gz

Current Behavior

ouch outputs

[ERROR] Invalid archive format
 - Unsupported extension:

Expected Behavior

Properly handle the --format flag with the leading dot.

OR

Output this instead:

[ERROR] Invalid archive format
 - Unsupported extension: .tar.gz

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions