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

index a6bf793..440fb09 100644 (file)
@@ -187,5 +187,16 @@ Options = {
         }
         
         
+    },
+    function showHelp()
+    {
+        print ("Usage: ");
+        for(var i in this) {
+            if (i.substring(0,2) != '--') {
+                continue;
+            }
+            print( i + '  ARG  : ' + this[i]);
+            
+        }
     }
 }
\ No newline at end of file