Display the right number of expected parameters
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1673 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
448b66a7ef
commit
11110c3f90
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ parse_again:
|
||||||
{
|
{
|
||||||
ERROR_MSG("%s expects %d",line.gettoken_str(0),np);
|
ERROR_MSG("%s expects %d",line.gettoken_str(0),np);
|
||||||
if (op < 0) ERROR_MSG("+");
|
if (op < 0) ERROR_MSG("+");
|
||||||
if (op > 0) ERROR_MSG("-%d",op);
|
if (op > 0) ERROR_MSG("-%d",op+np);
|
||||||
ERROR_MSG(" parameters, got %d.\n",line.getnumtokens()-1);
|
ERROR_MSG(" parameters, got %d.\n",line.getnumtokens()-1);
|
||||||
PRINTHELP()
|
PRINTHELP()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue