diff --git a/doc/manual/nix-instantiate.xml b/doc/manual/nix-instantiate.xml
index 9488bb733..a3d67debe 100644
--- a/doc/manual/nix-instantiate.xml
+++ b/doc/manual/nix-instantiate.xml
@@ -35,7 +35,7 @@
-
+
@@ -141,7 +141,7 @@ policies.
-
+
When used with ,
perform evaluation in read/write mode so nix language features
diff --git a/src/nix-instantiate/nix-instantiate.cc b/src/nix-instantiate/nix-instantiate.cc
index 1f4d1ffab..6a93acf39 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") {