diff options
author | Till Höppner | 2016-02-25 08:05:06 +0100 |
---|---|---|
committer | Till Höppner | 2016-02-25 08:05:06 +0100 |
commit | aeab5a3e682661e14b7683c0f3e6dbf482f7bb73 (patch) | |
tree | eb259df5176571b233a130265d725aa6e04c0235 /cli/src | |
parent | 58fdc5c7566323427d62754b8c1fd4b7b30a92e6 (diff) | |
download | ilc-aeab5a3e682661e14b7683c0f3e6dbf482f7bb73.tar.gz ilc-aeab5a3e682661e14b7683c0f3e6dbf482f7bb73.tar.xz ilc-aeab5a3e682661e14b7683c0f3e6dbf482f7bb73.zip |
Add "no command specified" special case message
Yeah, I just forgot how to use my own program. Or maybe I'm just tired. I should sleep...
Diffstat (limited to 'cli/src')
-rw-r--r-- | cli/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/lib.rs b/cli/src/lib.rs index f49150a..0f91b89 100644 --- a/cli/src/lib.rs +++ b/cli/src/lib.rs @@ -178,7 +178,7 @@ pub fn main() { &*e.encoder()) } (sc, _) if !sc.is_empty() => panic!("Unimplemented subcommand `{}`, this is a bug", sc), - _ => Ok(()), + _ => die("No command specified"), }; match res { |