Support the colonies
This commit is contained in:
parent
9842077cb2
commit
d6143801fd
1 changed files with 3 additions and 3 deletions
|
@ -293,7 +293,7 @@ static void opQuery(Strings opFlags, Strings opArgs)
|
||||||
else if (*i == "--resolve") query = qResolve;
|
else if (*i == "--resolve") query = qResolve;
|
||||||
else if (*i == "--roots") query = qRoots;
|
else if (*i == "--roots") query = qRoots;
|
||||||
else if (*i == "--use-output" || *i == "-u") useOutput = true;
|
else if (*i == "--use-output" || *i == "-u") useOutput = true;
|
||||||
else if (*i == "--force-realise" || *i == "-f") forceRealise = true;
|
else if (*i == "--force-realise" || *i == "--force-realize" || *i == "-f") forceRealise = true;
|
||||||
else if (*i == "--include-outputs") includeOutputs = true;
|
else if (*i == "--include-outputs") includeOutputs = true;
|
||||||
else throw UsageError(format("unknown flag `%1%'") % *i);
|
else throw UsageError(format("unknown flag `%1%'") % *i);
|
||||||
|
|
||||||
|
@ -849,7 +849,7 @@ void run(Strings args)
|
||||||
|
|
||||||
Operation oldOp = op;
|
Operation oldOp = op;
|
||||||
|
|
||||||
if (arg == "--realise" || arg == "-r")
|
if (arg == "--realise" || arg == "--realize" || arg == "-r")
|
||||||
op = opRealise;
|
op = opRealise;
|
||||||
else if (arg == "--add" || arg == "-A")
|
else if (arg == "--add" || arg == "-A")
|
||||||
op = opAdd;
|
op = opAdd;
|
||||||
|
@ -891,7 +891,7 @@ void run(Strings args)
|
||||||
op = opVerifyPath;
|
op = opVerifyPath;
|
||||||
else if (arg == "--repair-path")
|
else if (arg == "--repair-path")
|
||||||
op = opRepairPath;
|
op = opRepairPath;
|
||||||
else if (arg == "--optimise")
|
else if (arg == "--optimise" || arg == "--optimize")
|
||||||
op = opOptimise;
|
op = opOptimise;
|
||||||
else if (arg == "--query-failed-paths")
|
else if (arg == "--query-failed-paths")
|
||||||
op = opQueryFailedPaths;
|
op = opQueryFailedPaths;
|
||||||
|
|
Loading…
Reference in a new issue