about summary refs log tree commit homepage
path: root/lib/mongrel/command.rb
diff options
context:
space:
mode:
authorzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-02-16 06:41:47 +0000
committerzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-02-16 06:41:47 +0000
commit0c11d7cdf74490cd2a81570f15149331596f17b3 (patch)
treeacc6fbcf51e2761523f270120ec772cb6a3726ba /lib/mongrel/command.rb
parent615bdc0298de8f35055dd478675210f458d95422 (diff)
downloadunicorn-0c11d7cdf74490cd2a81570f15149331596f17b3.tar.gz
Functioning CGIWrapper that does a better job of dealing with the CGI->Mongrel translation. Still not perfect but testing is on the way.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@41 19e92222-5c0b-0410-8929-a290d50e31e9
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