JSDOC/PackerRun.vala
[gnome.introspection-doc-generator] / JSDOC / PackerRun.vala
index 95fd7ca..9041caf 100644 (file)
@@ -7,9 +7,9 @@
 namespace JSDOC
 {
        // --------------- <<<<<<< <MAIN HERE....
-       public static int main(string[] args) 
+       public static int main(ref string[] args) 
        {
-               new PackerRun(args);
+               new PackerRun(ref args);
                return 0;
        }
 
@@ -44,7 +44,7 @@ namespace JSDOC
                
 
        
-               public PackerRun (string[] args)
+               public PackerRun (ref string[] args)
                {
                
                        Object(
@@ -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 (  args)) {
                                        print("options parse error");
                                        GLib.Process.exit(Posix.EXIT_FAILURE);
                                }