mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-27 02:25:36 +00:00
Allow interleaved arguments in "capp gen" (requires latest Narwhal)
This commit is contained in:
1 parent
3da1c4381c
commit
3a1ebcaf3f
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user