Allow interleaved arguments in "capp gen" (requires latest Narwhal)

This commit is contained in:
Tom Robinson committed 2010-02-23 20:07:17 -08:00
1 parent 3da1c4381c
commit 3a1ebcaf3f
1 file changed
+1 -1
+1 -1
View File
@@ -69,7 +69,7 @@ var templatesDirectory = FILE.join(CAPP_HOME, "lib", "capp", "Resources", "Templ
function gen(/*va_args*/)
{
var args = ["capp gen"].concat(Array.prototype.slice.call(arguments));
var options = parser.parse(args);
var options = parser.parse(args, null, null, true);
if (options.args.length > 1) {
parser.printUsage(options);