aboutsummaryrefslogtreecommitdiff
path: root/src/nix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix.cc')
-rw-r--r--src/nix.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nix.cc b/src/nix.cc
index dc9d04148..0cdce2adc 100644
--- a/src/nix.cc
+++ b/src/nix.cc
@@ -21,7 +21,7 @@ static ArgType argType = atpUnknown;
Operations:
- --realise / -r: realise values
+ --install / -i: install (or `realise') values
--delete / -d: delete values
--query / -q: query stored values
--add: add values
@@ -86,8 +86,8 @@ static void getArgType(Strings & flags)
}
-/* Realise values. */
-static void opRealise(Strings opFlags, Strings opArgs)
+/* Install values. */
+static void opInstall(Strings opFlags, Strings opArgs)
{
getArgType(opFlags);
if (!opFlags.empty()) throw UsageError("unknown flag");
@@ -238,8 +238,8 @@ void run(Strings args)
Operation oldOp = op;
- if (arg == "--realise" || arg == "-r")
- op = opRealise;
+ if (arg == "--install" || arg == "-i")
+ op = opInstall;
else if (arg == "--delete" || arg == "-d")
op = opDelete;
else if (arg == "--add")