about summary refs log tree commit homepage
path: root/lib/mongrel/command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mongrel/command.rb')
-rw-r--r--lib/mongrel/command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mongrel/command.rb b/lib/mongrel/command.rb
index e5972b1..410f84f 100644
--- a/lib/mongrel/command.rb
+++ b/lib/mongrel/command.rb
@@ -158,7 +158,7 @@ module Mongrel
         cmd_name = args.shift
         $0 = "#{cmd_name}"
         
-        if cmd_name == "?" or cmd_name == "help"
+        if !cmd_name or cmd_name == "?" or cmd_name == "help"
           print_command_list
           return true
         end