Rename --no-readonly-mode --read-write-mode

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2014-02-04 10:35:30 -05:00 committed by Eelco Dolstra
parent 0c3e8a616e
commit e4058fab64
2 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@
<arg choice='plain'>
<option>--eval-only</option>
<arg><option>--strict</option></arg>
<arg><option>--no-readonly-mode</option></arg>
<arg><option>--read-write-mode</option></arg>
</arg>
<arg choice='plain'><option>--find-file</option></arg>
</group>
@ -141,7 +141,7 @@ policies.</para>
</varlistentry>
<varlistentry><term><option>--no-readonly-mode</option></term>
<varlistentry><term><option>--read-write-mode</option></term>
<listitem><para>When used with <option>--eval-only</option>,
perform evaluation in read/write mode so nix language features

View file

@ -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") {