diff --git a/Cargo.toml b/Cargo.toml index 829a2e5..34b54df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xcompress" -version = "0.11.4" +version = "0.11.5" authors = ["Magic Len "] edition = "2018" repository = "https://github.com/magiclen/xcompress" diff --git a/src/main.rs b/src/main.rs index 14abb0d..a6c7d9e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -133,7 +133,7 @@ fn main() -> Result<(), Box> { 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()) } }