From 76e56368e77cc786d50bc0d6e96777976d403493 Mon Sep 17 00:00:00 2001 From: Tommy Bishop Date: Wed, 13 Jul 2011 21:37:20 -0700 Subject: [PATCH] exit with an error for an unknown command --- lib/fission/cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fission/cli.rb b/lib/fission/cli.rb index ddbbc0b..91bd5f6 100644 --- a/lib/fission/cli.rb +++ b/lib/fission/cli.rb @@ -33,7 +33,7 @@ def self.execute(args=ARGV) @cmd.execute else show_all_help(optparse) - exit(0) + exit(1) end end