Commit d0820fd6 authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard

Add the correct default mode to the repair option.

parent 07888bca
...@@ -235,6 +235,14 @@ int main(int argc, char *argv[]) ...@@ -235,6 +235,14 @@ int main(int argc, char *argv[])
break; break;
} }
} }
if(len == 2)
{
RepairMode = REINSTALLMODE_FILEMISSING |
REINSTALLMODE_FILEEQUALVERSION |
REINSTALLMODE_FILEVERIFY |
REINSTALLMODE_MACHINEDATA |
REINSTALLMODE_SHORTCUT;
}
i++; i++;
if(i >= argc) if(i >= argc)
ShowUsage(1); ShowUsage(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment