Update man to show that nix-shell allows --arg

This commit is contained in:
Matthew Bauer 2019-11-01 13:25:15 -04:00 committed by GitHub
parent 06f9364e5f
commit f1d4ba2afd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -243,9 +243,10 @@
<varlistentry><term><option>--arg</option> <replaceable>name</replaceable> <replaceable>value</replaceable></term> <varlistentry><term><option>--arg</option> <replaceable>name</replaceable> <replaceable>value</replaceable></term>
<listitem><para>This option is accepted by <listitem><para>This option is accepted by
<command>nix-env</command>, <command>nix-instantiate</command> and <command>nix-env</command>, <command>nix-instantiate</command>,
<command>nix-build</command>. When evaluating Nix expressions, the <command>nix-shell</command and <command>nix-build</command>.
expression evaluator will automatically try to call functions that When evaluating Nix expressions, the expression evaluator will
automatically try to call functions that
it encounters. It can automatically call functions for which every it encounters. It can automatically call functions for which every
argument has a <link linkend='ss-functions'>default value</link> argument has a <link linkend='ss-functions'>default value</link>
(e.g., <literal>{ <replaceable>argName</replaceable> ? (e.g., <literal>{ <replaceable>argName</replaceable> ?