1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 12:42:26 +01:00

fix parseArgs - literalArg typo

This commit is contained in:
Doug Kearns
2008-11-24 03:53:16 +00:00
parent 0c003d63d6
commit 4b66007575

View File

@@ -632,7 +632,9 @@ function Commands() //{{{
}
// check for correct number of arguments
if (!complete && (args.arguments.length == 0 && (argCount == "1" || argCount == "+") || literal && argCount == "+" && /^\s*$/.test(literalArg)))
if (!complete && (args.arguments.length == 0 && (argCount == "1" || argCount == "+") ||
// TODO: what is this for? -- djk
literal && argCount == "+" && /^\s*$/.test(args.literalArg)))
{
liberator.echoerr("E471: Argument required");
return null;