aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/command-ref/opt-common.xml
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-11-01 13:25:15 -0400
committerGitHub <noreply@github.com>2019-11-01 13:25:15 -0400
commitf1d4ba2afd1169b6c15248e50e30b592e514bb21 (patch)
tree5bfbecfdeadaa379165f15b42bbdd6ffde2e3e86 /doc/manual/command-ref/opt-common.xml
parent06f9364e5ff3f32e23a82cc9aa166fb47fa9d43c (diff)
Update man to show that nix-shell allows --arg
Diffstat (limited to 'doc/manual/command-ref/opt-common.xml')
-rw-r--r--doc/manual/command-ref/opt-common.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/manual/command-ref/opt-common.xml b/doc/manual/command-ref/opt-common.xml
index b8a2f260e..28ec42bbc 100644
--- a/doc/manual/command-ref/opt-common.xml
+++ b/doc/manual/command-ref/opt-common.xml
@@ -243,9 +243,10 @@
<varlistentry><term><option>--arg</option> <replaceable>name</replaceable> <replaceable>value</replaceable></term>
<listitem><para>This option is accepted by
- <command>nix-env</command>, <command>nix-instantiate</command> and
- <command>nix-build</command>. When evaluating Nix expressions, the
- expression evaluator will automatically try to call functions that
+ <command>nix-env</command>, <command>nix-instantiate</command>,
+ <command>nix-shell</command and <command>nix-build</command>.
+ When evaluating Nix expressions, the expression evaluator will
+ automatically try to call functions that
it encounters. It can automatically call functions for which every
argument has a <link linkend='ss-functions'>default value</link>
(e.g., <literal>{ <replaceable>argName</replaceable> ?