JSDOC/PackerRun.vala
[gnome.introspection-doc-generator] / JSDOC / PackerRun.vala
index bd1702a..4f5c6c6 100644 (file)
@@ -14,7 +14,7 @@ namespace JSDOC
                        
                        { "target", 0, 0, OptionArg.STRING, ref opt_target, "Target File to write (eg. roojs.js)", null },
                        { "tmpdir", 0, 0, OptionArg.STRING, ref opt_tmpdir, "Temporary Directory to use", null },
-                       { "file", 0, 0, OptionArg.STRING, ref opt_files ,"add a file to compile", null },
+                       { "file", 0, 0, OptionArg.STRING_ARRAY, ref opt_files ,"add a file to compile", null },
                        { "files-from", 0, 0, OptionArg.STRING, ref opt_files_from ,"a text file listing files to compile", null },              
  
                        { "debug", 0, 0, OptionArg.NONE, ref opt_debug, "Show debug messages", null },
@@ -26,8 +26,13 @@ namespace JSDOC
                
                public static string[] opt_files;
                public static string opt_files_from;
+               public static bool opt_debug;
                
-               
+               public static int main(string[] args) 
+               {
+                       new PackerRun(args);
+                       return 0;
+               }
 
        
                public PackerRun (string[] args)