JSDOC/PackerRun.vala
[gnome.introspection-doc-generator] / JSDOC / PackerRun.vala
index e05d03b..d0ebb24 100644 (file)
@@ -30,11 +30,11 @@ namespace JSDOC
                const OptionEntry[] options = {
                
                        { "jsfile", 'f', 0, OptionArg.FILENAME_ARRAY, ref opt_files ,"add a file to compile", null },
-                       { "target", 't', 0, OptionArg.STRING, ref opt_target, "Target File to write (eg. roojs.js)", null },
-                       { "debug-target", 'T', 0, OptionArg.STRING, ref opt_debug_target, "Target File to write debug code (eg. roojs-debug.js)", null },
-                       { "tmpdir", 'm', 0, OptionArg.STRING, ref opt_tmpdir, "Temporary Directory to use", null },
+               //      { "target", 't', 0, OptionArg.STRING, ref opt_target, "Target File to write (eg. roojs.js)", null },
+               //      { "debug-target", 'T', 0, OptionArg.STRING, ref opt_debug_target, "Target File to write debug code (eg. roojs-debug.js)", null },
+       //              { "tmpdir", 'm', 0, OptionArg.STRING, ref opt_tmpdir, "Temporary Directory to use", null },
 
-                       { "index-files", 'i', 0, OptionArg.FILENAME_ARRAY, ref opt_files_from ,"files that contain listing of files to compile", null },                 
+//                     { "index-files", 'i', 0, OptionArg.FILENAME_ARRAY, ref opt_files_from ,"files that contain listing of files to compile", null },                 
  
                        { "debug", 0, 0, OptionArg.NONE, ref opt_debug, "Show debug messages", null },
                        // fixme -- keepwhite.. cleanup 
@@ -49,7 +49,7 @@ namespace JSDOC
                
                        Object(
                            application_id: "org.roojs.jsdoc.packerrun",
-                               flags: ApplicationFlags.FLAGS_NONE
+                               flags: ApplicationFlags.HANDLES_COMMAND_LINE 
                        );
                                         
                         
@@ -58,7 +58,7 @@ namespace JSDOC
                        try {
                                opt_context.set_help_enabled (true);
                                opt_context.add_main_entries (options, null);
-                               if (!opt_context.parse (ref args)) {
+                               if (!opt_context.parse ( ref args)) {
                                        print("options parse error");
                                        GLib.Process.exit(Posix.EXIT_FAILURE);
                                }