pack.js
[gnome.introspection-doc-generator] / pack.js
diff --git a/pack.js b/pack.js
index 4d7f6e5..973e2f8 100755 (executable)
--- a/pack.js
+++ b/pack.js
@@ -4,6 +4,7 @@
  * packer command line
  * 
  * -o Output
+ * -O Output debug file here.
  * -t Translate json file.
  * -w Cache / working dir.
  * -f File to read with a list of source paths / or class names.
@@ -34,6 +35,11 @@ for(var i =0; i < args.length;i++) {
         i++;
         continue;
     }
+    if (args[i] == '-o') {
+        cfg.debugTarget = args[i+1];
+        i++;
+        continue;
+    }
     if (args[i] == '-t') {
         cfg.translateJSON = args[i+1];
         i++;