diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-09-23 00:38:04 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2020-09-23 01:25:25 +0200 |
commit | e1af37634b387e18361f15b2db1c7f7f93d37ebc (patch) | |
tree | b2d13f6759d5212216bba8e454ba0d2d41391f7e /doc/stdenv | |
parent | 47297487c55762e206d53127f3b02b9c2901d31f (diff) |
doc: Improve code listings
By adding prompts and removing unnecessary indentation.
Diffstat (limited to 'doc/stdenv')
-rw-r--r-- | doc/stdenv/multiple-output.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/stdenv/multiple-output.xml b/doc/stdenv/multiple-output.xml index 0f177ec719f9..20658918db72 100644 --- a/doc/stdenv/multiple-output.xml +++ b/doc/stdenv/multiple-output.xml @@ -67,7 +67,7 @@ <para> <command>nix-env</command> silenty disregards the outputs selected by the user, and instead installs the outputs from <varname>meta.outputsToInstall</varname>. For example, </para> -<programlisting>$ nix-env -iA nixpkgs.coreutils.info</programlisting> +<screen><prompt>$ </prompt>nix-env -iA nixpkgs.coreutils.info</screen> <para> installs the <literal>"out"</literal> output (<varname>coreutils.meta.outputsToInstall</varname> is <literal>[ "out" ]</literal>) instead of the requested <literal>"info"</literal>. </para> |