about summary refs log tree commit diff
path: root/src/nix-instantiate
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-instantiate')
-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") {