Document the --option flag

Pointed out by Daniel Santa Cruz on IRC.
This commit is contained in:
Eelco Dolstra 2012-07-29 14:37:40 -04:00
parent 3a4623afbb
commit f15083c10a
2 changed files with 16 additions and 1 deletions

View file

@ -37,6 +37,11 @@
<option>-I</option> <option>-I</option>
<replaceable>path</replaceable> <replaceable>path</replaceable>
</arg> </arg>
<arg>
<option>--option</option>
<replaceable>name</replaceable>
<replaceable>value</replaceable>
</arg>
<sbr /> <sbr />
</nop> </nop>

View file

@ -337,7 +337,7 @@
<listitem><para>Causes Nix to print out a stack trace in case of Nix <listitem><para>Causes Nix to print out a stack trace in case of Nix
expression evaluation errors.</para></listitem> expression evaluation errors.</para></listitem>
</varlistentry> </varlistentry>
@ -351,6 +351,16 @@
</varlistentry> </varlistentry>
<varlistentry><term><option>--option</option> <replaceable>name</replaceable> <replaceable>value</replaceable></term>
<listitem><para>Set the Nix configuration option
<replaceable>name</replaceable> to <replaceable>value</replaceable>.
This overrides settings in the Nix configuration file (see
<citerefentry><refentrytitle>nix.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>).</para></listitem>
</varlistentry>
</variablelist> </variablelist>