about summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorChuck <chuck@intelligence.org>2019-09-05 17:29:01 -0700
committerLinus Heckemann <git@sphalerite.org>2019-11-04 15:11:44 +0100
commit59c5bfc86b75247cb48539eeaaea2a3c5f320b1d (patch)
tree53d224e3a4003942d0c366955afa26a98875d048 /nixos/doc
parentd690c20efd07b422c68529b8719454ee74f2f1df (diff)
downloadnixlib-59c5bfc86b75247cb48539eeaaea2a3c5f320b1d.tar
nixlib-59c5bfc86b75247cb48539eeaaea2a3c5f320b1d.tar.gz
nixlib-59c5bfc86b75247cb48539eeaaea2a3c5f320b1d.tar.bz2
nixlib-59c5bfc86b75247cb48539eeaaea2a3c5f320b1d.tar.lz
nixlib-59c5bfc86b75247cb48539eeaaea2a3c5f320b1d.tar.xz
nixlib-59c5bfc86b75247cb48539eeaaea2a3c5f320b1d.tar.zst
nixlib-59c5bfc86b75247cb48539eeaaea2a3c5f320b1d.zip
nixos/nixos-option: Rewrite in a more suitable language
Also add --all, which shows the value of all options.  Diffing the --all
output on either side of contemplated changes is a lovely way to better
understand what's going on inside nixos.
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/manual/man-nixos-option.xml21
1 files changed, 3 insertions, 18 deletions
diff --git a/nixos/doc/manual/man-nixos-option.xml b/nixos/doc/manual/man-nixos-option.xml
index 81e3739b3be5..beabf020c92a 100644
--- a/nixos/doc/manual/man-nixos-option.xml
+++ b/nixos/doc/manual/man-nixos-option.xml
@@ -19,14 +19,10 @@
    </arg>
 
    <arg>
-    <option>--verbose</option>
+    <option>--all</option>
    </arg>
 
    <arg>
-    <option>--xml</option>
-   </arg>
-
-   <arg choice="plain">
     <replaceable>option.name</replaceable>
    </arg>
   </cmdsynopsis>
@@ -62,22 +58,11 @@
    </varlistentry>
    <varlistentry>
     <term>
-     <option>--verbose</option>
-    </term>
-    <listitem>
-     <para>
-      This option enables verbose mode, which currently is just the Bash
-      <command>set</command> <option>-x</option> debug mode.
-     </para>
-    </listitem>
-   </varlistentry>
-   <varlistentry>
-    <term>
-     <option>--xml</option>
+     <option>--all</option>
     </term>
     <listitem>
      <para>
-      This option causes the output to be rendered as XML.
+      Print the values of all options.
      </para>
     </listitem>
    </varlistentry>