aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/command-ref/nix-shell.xml
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2017-07-10 08:43:19 -0400
committerShea Levy <shea@shealevy.com>2017-07-10 08:43:19 -0400
commit62a8fe6388a1ee8f9376b8e65b0cb9a02c313e9f (patch)
tree93f7ea62c280a5272f75d9890fc7d0654cd7d7ed /doc/manual/command-ref/nix-shell.xml
parent1762b9616cf8786270b2efb55800a8036574ed21 (diff)
parent30117fb35bde6ba27d7de5037272ea23c8dcebf9 (diff)
Merge branch 'man2' of git://github.com/robx/nix
Diffstat (limited to 'doc/manual/command-ref/nix-shell.xml')
-rw-r--r--doc/manual/command-ref/nix-shell.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/manual/command-ref/nix-shell.xml b/doc/manual/command-ref/nix-shell.xml
index c64c93ec3..62d026ac2 100644
--- a/doc/manual/command-ref/nix-shell.xml
+++ b/doc/manual/command-ref/nix-shell.xml
@@ -33,13 +33,13 @@
<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>
- </group>
+ <arg choice='plain' rep='repeat'><replaceable>packages</replaceable></arg>
+ </arg>
<arg><replaceable>path</replaceable></arg>
</group>
</cmdsynopsis>
@@ -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