Rename --no-readonly-mode --read-write-mode
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
0c3e8a616e
commit
e4058fab64
|
@ -35,7 +35,7 @@
|
||||||
<arg choice='plain'>
|
<arg choice='plain'>
|
||||||
<option>--eval-only</option>
|
<option>--eval-only</option>
|
||||||
<arg><option>--strict</option></arg>
|
<arg><option>--strict</option></arg>
|
||||||
<arg><option>--no-readonly-mode</option></arg>
|
<arg><option>--read-write-mode</option></arg>
|
||||||
</arg>
|
</arg>
|
||||||
<arg choice='plain'><option>--find-file</option></arg>
|
<arg choice='plain'><option>--find-file</option></arg>
|
||||||
</group>
|
</group>
|
||||||
|
@ -141,7 +141,7 @@ policies.</para>
|
||||||
|
|
||||||
</varlistentry>
|
</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>,
|
<listitem><para>When used with <option>--eval-only</option>,
|
||||||
perform evaluation in read/write mode so nix language features
|
perform evaluation in read/write mode so nix language features
|
||||||
|
|
|
@ -107,7 +107,7 @@ void run(Strings args)
|
||||||
settings.readOnlyMode = true;
|
settings.readOnlyMode = true;
|
||||||
evalOnly = true;
|
evalOnly = true;
|
||||||
}
|
}
|
||||||
else if (arg == "--no-readonly-mode") {
|
else if (arg == "--read-write-mode") {
|
||||||
settings.readOnlyMode = false;
|
settings.readOnlyMode = false;
|
||||||
}
|
}
|
||||||
else if (arg == "--parse-only") {
|
else if (arg == "--parse-only") {
|
||||||
|
|
Loading…
Reference in a new issue