Add the correct default mode to the repair option.

This commit is contained in:
Vincent Béron 2004-07-23 23:19:17 +00:00 committed by Alexandre Julliard
parent 07888bca3d
commit d0820fd60c
1 changed files with 8 additions and 0 deletions

View File

@ -235,6 +235,14 @@ int main(int argc, char *argv[])
break;
}
}
if(len == 2)
{
RepairMode = REINSTALLMODE_FILEMISSING |
REINSTALLMODE_FILEEQUALVERSION |
REINSTALLMODE_FILEVERIFY |
REINSTALLMODE_MACHINEDATA |
REINSTALLMODE_SHORTCUT;
}
i++;
if(i >= argc)
ShowUsage(1);