"--exclude-src" : 'Ex',
"--baseDir" : 'Base Directory (root directory of code)',
"--target" : 'Target Directory (where html files go)',
- "--cacheDirectory": 'Cached Files Directory',
+ "--cacheDirectory": 'Cached Files Directory (or blank to not cache)',
"--conf" : 'Read From a Configuration file', // was c. - configuration file.. - parsed with JSON.parse
"--templateDir" : 'Template Directory', // was t.
// "recurse": false, // was r. - not supported..
i++;
while(i < args.length)
{
- if (args[i].substring(0,2) != '--'){
-
+ if (args[i].substring(0,2) == '--'){
+ i--;
break;
}
this[a].push(args[i]);
+ i++;
}
- i--;
+
+ continue;
}
throw {
name: "ArgumentError",
- message: "Do not know how to handle: " + a
+ message: "Do not know how to handle: " + a + ' ' + typeof(this[a])
};
}