* Documented --attr / -A.

This commit is contained in:
Eelco Dolstra 2006-10-05 20:07:41 +00:00
parent 5d769de8a3
commit 8396b59286
5 changed files with 60 additions and 6 deletions

View file

@ -11,6 +11,13 @@
<command>nix-env</command>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="opt-common-syn.xml#xpointer(/nop/*)" />
<arg><option>--arg</option> <replaceable>name</replaceable> <replaceable>value</replaceable></arg>
<arg>
<group choice='req'>
<arg choice='plain'><option>--attr</option></arg>
<arg choice='plain'><option>-A</option></arg>
</group>
<replaceable>attrPath</replaceable>
</arg>
<arg>
<group choice='req'>
<arg choice='plain'><option>--file</option></arg>
@ -252,7 +259,7 @@ number of possible ways:
</refsection>
<refsection><title>Examples</title>
<refsection xml:id='refsec-nix-env-install-examples'><title>Examples</title>
<para>To install a specific version of <command>gcc</command> from the
active Nix expression: