Skip to content

Compression flag --output not working with single file compression. #90

@marcospb19

Description

@marcospb19

Originally posted by @vrmiguel in #89 (comment)

Problem

The flag --output is not working properly when compressing one file into one non-archive format compressed file.

# Works
$ cargo run -- c src/main.rs main.rs.xz 

# Panics
$ cargo run -- d main.rs.xz -o some-new-folder
thread 'main' panicked at 'No such file or directory (os error 2)', src/error.rs:173:45
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions