about summary refs log tree commit diff
path: root/src/nix-instantiate/nix-instantiate.cc
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-02-04T15·35-0500
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-07T17·03+0100
commite4058fab64d82ddb7723142c7c595e80eeba0f3e (patch)
treec217d8eca8b9685ffcb1510e02c59d251d8dcd13 /src/nix-instantiate/nix-instantiate.cc
parent0c3e8a616e8e243ee45c78491fe86f50230d82b9 (diff)
Rename --no-readonly-mode --read-write-mode
Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'src/nix-instantiate/nix-instantiate.cc')
-rw-r--r--src/nix-instantiate/nix-instantiate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-instantiate/nix-instantiate.cc b/src/nix-instantiate/nix-instantiate.cc
index 1f4d1ffab8fb..6a93acf39602 100644
--- a/src/nix-instantiate/nix-instantiate.cc
+++ b/src/nix-instantiate/nix-instantiate.cc
@@ -107,7 +107,7 @@ void run(Strings args)
             settings.readOnlyMode = true;
             evalOnly = true;
         }
-        else if (arg == "--no-readonly-mode") {
+        else if (arg == "--read-write-mode") {
             settings.readOnlyMode = false;
         }
         else if (arg == "--parse-only") {