Skip to content

Commit 83a8560

Browse files
committed
improve error message
1 parent 1d5c5f5 commit 83a8560

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "xcompress"
3-
version = "0.11.4"
3+
version = "0.11.5"
44
authors = ["Magic Len <[email protected]>"]
55
edition = "2018"
66
repository = "https://github.com/magiclen/xcompress"

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ fn main() -> Result<(), Box<dyn Error>> {
133133

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

0 commit comments

Comments
 (0)