diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-11-05 11:18:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-05 11:18:24 +0100 |
commit | 78760270713992a7fcba761c8be01ccbc0214fd8 (patch) | |
tree | b38120450f7da56c522679c3fe63405b19376ce7 /doc/manual | |
parent | 78b8203e500f9ac49b913f303e5e0155d2297c69 (diff) | |
parent | f1d4ba2afd1169b6c15248e50e30b592e514bb21 (diff) |
Merge pull request #3193 from matthewbauer/patch-11
Update man to show that nix-shell allows --arg
Diffstat (limited to 'doc/manual')
-rw-r--r-- | doc/manual/command-ref/opt-common.xml | 7 |
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> ? |