From c702dfca3f5a437866faf190ce7b0869fd1058cb Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 8 Apr 2005 13:48:41 +0000 Subject: * nix-store: `--substitute' -> `--register-substitutes'. --- src/nix-store/main.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/nix-store/main.cc') diff --git a/src/nix-store/main.cc b/src/nix-store/main.cc index 496924677588..87fbe58b1ba3 100644 --- a/src/nix-store/main.cc +++ b/src/nix-store/main.cc @@ -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") -- cgit 1.4.1