mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
- fix commandline arguments
svn path=/trunk/; revision=27648
This commit is contained in:
parent
d07065ab90
commit
1309c3f3eb
1 changed files with 1 additions and 2 deletions
|
@ -34,7 +34,7 @@ int _tmain(int argc, TCHAR * argv[])
|
|||
TCHAR DefaultConfig[] = _T("sysreg.cfg");
|
||||
TCHAR *ConfigFile;
|
||||
|
||||
if ((argc >= 2))
|
||||
if ((argc > 2))
|
||||
{
|
||||
cerr << USAGE << endl;
|
||||
return -1;
|
||||
|
@ -51,7 +51,6 @@ int _tmain(int argc, TCHAR * argv[])
|
|||
ConfigFile = DefaultConfig;
|
||||
}
|
||||
|
||||
|
||||
if (!config.parseFile (ConfigFile))
|
||||
{
|
||||
cerr << USAGE << endl;
|
||||
|
|
Loading…
Reference in a new issue