about summary refs log tree commit diff
path: root/nix-repl.cc
diff options
context:
space:
mode:
authorScott Olson <scott@solson.me>2016-02-19T10·00-0600
committerScott Olson <scott@solson.me>2016-03-01T10·03-0600
commite2ff27da07f30c598c88e8e7552be0d126e2b4da (patch)
tree4a13d0bdace49e066609df970de6baca0f747618 /nix-repl.cc
parent86e93b9f61cf53cfd766e1724e65507aca952f55 (diff)
Rename :x to :u, for 'use'.
Diffstat (limited to 'nix-repl.cc')
-rw-r--r--nix-repl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix-repl.cc b/nix-repl.cc
index adf4186975ba..a9a21ae766d8 100644
--- a/nix-repl.cc
+++ b/nix-repl.cc
@@ -340,7 +340,7 @@ bool NixRepl::processLine(string line)
              << "  :r            Reload all files\n"
              << "  :s <expr>     Build dependencies of derivation, then start nix-shell\n"
              << "  :t <expr>     Describe result of evaluation\n"
-             << "  :x <expr>     Build derivation, then start nix-shell\n";
+             << "  :u <expr>     Build derivation, then start nix-shell\n";
     }
 
     else if (command == ":a" || command == ":add") {
@@ -364,7 +364,7 @@ bool NixRepl::processLine(string line)
         evalString(arg, v);
         std::cout << showType(v) << std::endl;
 
-    } else if (command == ":x") {
+    } else if (command == ":u") {
         Value v, f, result;
         evalString(arg, v);
         evalString("drv: (import <nixpkgs> {}).runCommand \"shell\" { buildInputs = [ drv ]; } \"\"", f);