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

index 0f0422c..df6f678 100644 (file)
@@ -7,6 +7,9 @@ File = import.File.File;
 
 Options = {
 
+    "--help"          : 'Show help',   // was h
+    "help": false,   // was h;se
+    
     // options get defined like this..
     "--src"           :  "source directory (either absolute - starts with "/" or relative " + 
                         "- without, in which case it's added to baseDir"
@@ -26,7 +29,7 @@ Options = {
     //"suppress": '',  // was s ??? used?
     "--outputSource" : 'Output the Source code to symbols/src/* (boolean)',
     //"testmode": '',  // was t
-    "--help"          : 'Show help',   // was h
+    
     "--verbose"       : 'Show verbose messages',   // was v
     //"disablecache": '',   // was C -- not needed? - see if cacheDirectory was set..
     //"define" : [],   // was D.
@@ -51,7 +54,7 @@ Options = {
     "suppress": '',  // was s ??? used?
     "outputSource" : true,
     "testmode": '',  // was t
-    "help": false,   // was h;se
+    
     "verbose": '',   // was v
     "disablecache": '',   // was C
     "define" : [],   // was D.
@@ -206,7 +209,7 @@ Options = {
     
     function showHelp()
     {
-        print ("Usage: ");
+        print (""Usage seed jsdocbulid.js /var/www/seed [Gtk] \n": ");
         for(var i in this) {
             if (i.substring(0,2) != '--') {
                 continue;