about summary refs log tree commit diff
path: root/doc/manual
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-29T18·37-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-29T18·37-0400
commitf15083c10afaebb8f2a0e7fbc95dd4cc5208c992 (patch)
tree5a5f7ef7babfb1a31a51d7ecabf97adcb430fde4 /doc/manual
parent3a4623afbbc1bff85bde33167d36e8c5a4a3df0d (diff)
Document the --option flag
Pointed out by Daniel Santa Cruz on IRC.
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/opt-common-syn.xml5
-rw-r--r--doc/manual/opt-common.xml12
2 files changed, 16 insertions, 1 deletions
diff --git a/doc/manual/opt-common-syn.xml b/doc/manual/opt-common-syn.xml
index 6628fde93516..d65f4009ee6e 100644
--- a/doc/manual/opt-common-syn.xml
+++ b/doc/manual/opt-common-syn.xml
@@ -37,6 +37,11 @@
   <option>-I</option>
   <replaceable>path</replaceable>
 </arg>
+<arg>
+  <option>--option</option>
+  <replaceable>name</replaceable>
+  <replaceable>value</replaceable>
+</arg>
 <sbr />
 
 </nop>
diff --git a/doc/manual/opt-common.xml b/doc/manual/opt-common.xml
index b9df23dcfbe9..0b57517670be 100644
--- a/doc/manual/opt-common.xml
+++ b/doc/manual/opt-common.xml
@@ -337,7 +337,7 @@
   
   <listitem><para>Causes Nix to print out a stack trace in case of Nix
   expression evaluation errors.</para></listitem>
-  
+
 </varlistentry>
 
 
@@ -351,6 +351,16 @@
 </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>