about summary refs log tree commit diff
path: root/doc/manual/command-ref
diff options
context:
space:
mode:
authorRobert Vollmert <rob@vllmrt.net>2017-07-07T19·52+0200
committerRobert Vollmert <rob@vllmrt.net>2017-07-07T20·11+0200
commitc85e662004d6f2881dde92991d3a2352e612e8e3 (patch)
treee30a74f3f36924a2a68c06ea70437a0d26ca549e /doc/manual/command-ref
parent89771a882157c22ff90ab6b1f9e93ed464aa3177 (diff)
man page (nix-shell): Fix grouping of -p option
Not sure about the raw ellipsis.
Diffstat (limited to 'doc/manual/command-ref')
-rw-r--r--doc/manual/command-ref/nix-shell.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/manual/command-ref/nix-shell.xml b/doc/manual/command-ref/nix-shell.xml
index c64c93ec3ac2..078fa38494b8 100644
--- a/doc/manual/command-ref/nix-shell.xml
+++ b/doc/manual/command-ref/nix-shell.xml
@@ -33,12 +33,12 @@
     <arg><option>--exclude</option> <replaceable>regexp</replaceable></arg>
     <arg><option>--pure</option></arg>
     <group choice='req'>
-      <group choice='plain'>
-        <group>
+      <arg choice='plain'>
+        <group choice='req'>
           <arg choice='plain'><option>--packages</option></arg>
           <arg choice='plain'><option>-p</option></arg>
         </group>
-        <replaceable>packages</replaceable>
+        <arg choice='plain' rep='repeat'><replaceable>packages</replaceable></arg>
       </group>
       <arg><replaceable>path</replaceable></arg>
     </group>
@@ -144,7 +144,7 @@ also <xref linkend="sec-common-options" />.</phrase></para>
 
   </varlistentry>
 
-  <varlistentry><term><option>--packages</option> / <option>-p</option></term>
+  <varlistentry><term><option>--packages</option> / <option>-p</option> <replaceable>packages</replaceable>…</term>
 
     <listitem><para>Set up an environment in which the specified
     packages are present.  The command line arguments are interpreted