JSDOC/Options.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 30 Jun 2010 09:23:03 +0000 (17:23 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 30 Jun 2010 09:23:03 +0000 (17:23 +0800)
JSDOC/Options.js

index 5f7aa89..a6bf793 100644 (file)
@@ -71,6 +71,11 @@ Options = {
     },
     init : function()
     {
+        
+        if (this.help) {
+            this.showHelp();
+            throw "DONE";
+        }
         this.LOG.verbose = this.verbose;