JSDOC/Options.js
[gnome.introspection-doc-generator] / JSDOC / Options.js
index f5e38a4..a613795 100644 (file)
@@ -8,7 +8,7 @@ File = import.File.File;
 Options = {
     
     "src" : [],  // array of source directories..
-    "directory" : '',   // was d. ?? source directory (needed to put temporary files..)
+    "target" : '',   // was d. ?? source directory (needed to put temporary files..)
     "cacheDirectory" : '',
     "conf" : '',       // was c.
     "template": '',   // was t.
@@ -49,10 +49,10 @@ Options = {
         }
         // help ?? -- usage..
         
-        if (!this.files.length) {
+        if (!this.src.length) {
             throw {
                 name: "ArgumentError", 
-                message: "No files specified" 
+                message: "No source directories specified" 
             };
         }
         if (!this.template) {
@@ -62,7 +62,7 @@ Options = {
             };
         }
          
-        if (!this.directory) {
+        if (!this.target) {
             throw {
                 name: "ArgumentError", 
                 message: "No directory specified"