Skip to content

Commit

Permalink
improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
magiclen committed Mar 11, 2021
1 parent 1d5c5f5 commit 83a8560
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xcompress"
version = "0.11.4"
version = "0.11.5"
authors = ["Magic Len <[email protected]>"]
edition = "2018"
repository = "https://github.com/magiclen/xcompress"
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ fn main() -> Result<(), Box<dyn Error>> {

handle_archive(&matches, &input_paths, output_path, best_compression, split)
} else {
unimplemented!()
Err("Please input a subcommand. Use `help` to see how to use this program.".into())
}
}

Expand Down

0 comments on commit 83a8560

Please sign in to comment.