aboutsummaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/src/lib.rs2
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 {