From e4058fab64d82ddb7723142c7c595e80eeba0f3e Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Tue, 4 Feb 2014 10:35:30 -0500 Subject: [PATCH] Rename --no-readonly-mode --read-write-mode Signed-off-by: Shea Levy --- doc/manual/nix-instantiate.xml | 4 ++-- src/nix-instantiate/nix-instantiate.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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") {