* nix-store: --substitute' -> --register-substitutes'.

This commit is contained in:
Eelco Dolstra 2005-04-08 13:48:41 +00:00
parent 8b70f138e0
commit c702dfca3f
6 changed files with 8 additions and 8 deletions

View file

@ -394,7 +394,7 @@ static void opQuery(Strings opFlags, Strings opArgs)
}
static void opSubstitute(Strings opFlags, Strings opArgs)
static void opRegisterSubstitutes(Strings opFlags, Strings opArgs)
{
if (!opFlags.empty()) throw UsageError("unknown flag");
if (!opArgs.empty()) throw UsageError("no arguments expected");
@ -607,8 +607,8 @@ void run(Strings args)
op = opPrintFixedPath;
else if (arg == "--query" || arg == "-q")
op = opQuery;
else if (arg == "--substitute")
op = opSubstitute;
else if (arg == "--register-substitutes")
op = opRegisterSubstitutes;
else if (arg == "--clear-substitutes")
op = opClearSubstitutes;
else if (arg == "--register-validity")