Don't list /amd64-unicode in !addplugindir help (makensis win32)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6446 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
ac873f36cb
commit
ce0d6a7a94
4 changed files with 11 additions and 9 deletions
|
@ -6234,17 +6234,18 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
TCHAR *path = line.gettoken_str(numtok);
|
||||
if (2 == numtok)
|
||||
{
|
||||
const TCHAR* arcstr = line.gettoken_str(--numtok);
|
||||
const TCHAR *arcstr = line.gettoken_str(--numtok);
|
||||
tt = get_target_type(arcstr+1);
|
||||
if (_T('/') != arcstr[0] || CEXEBuild::TARGET_UNKNOWN == tt)
|
||||
{
|
||||
tstring es = get_commandtoken_name(which_token);
|
||||
es += _T(": Target parameter must be one of: /");
|
||||
for(int i = CEXEBuild::TARGETFIRST; i < CEXEBuild::TARGETCOUNT; ++i)
|
||||
for(int comma = 0, i = CEXEBuild::TARGETFIRST; i < CEXEBuild::TARGETCOUNT; ++i)
|
||||
{
|
||||
tt = (CEXEBuild::TARGETTYPE) i;
|
||||
if (CEXEBuild::TARGETFIRST != tt) es += _T(", /");
|
||||
es += get_target_suffix(tt);
|
||||
const TCHAR *ts = get_target_suffix((CEXEBuild::TARGETTYPE) i, 0);
|
||||
if (!ts) continue;
|
||||
if (comma++) es += _T(", /");
|
||||
es += ts;
|
||||
}
|
||||
ERROR_MSG(_T("Error: %") NPRIs _T("\n"),es.c_str());
|
||||
return PS_ERROR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue