diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-05-07T21·55-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-05-07T21·55-0400 |
commit | afa7b8a479e48c5642a796563a615314c0261a1a (patch) | |
tree | faace585ee0263dbe0f900b0ee9af08ae360ab6d /doc/manual/nix-channel.xml | |
parent | 147f10157fef48dcf3e32511e10f5ee00026b757 (diff) |
nix-channel --update: allow updating only the specified channels
Diffstat (limited to 'doc/manual/nix-channel.xml')
-rw-r--r-- | doc/manual/nix-channel.xml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/manual/nix-channel.xml b/doc/manual/nix-channel.xml index 22d8900d8f1c..68dcfd45d4d6 100644 --- a/doc/manual/nix-channel.xml +++ b/doc/manual/nix-channel.xml @@ -22,7 +22,7 @@ <arg choice='plain'><option>--add</option> <replaceable>url</replaceable> <arg choice='opt'><replaceable>name</replaceable></arg></arg> <arg choice='plain'><option>--remove</option> <replaceable>url</replaceable></arg> <arg choice='plain'><option>--list</option></arg> - <arg choice='plain'><option>--update</option></arg> + <arg choice='plain'><option>--update</option> <arg rep='repeat'><replaceable>names</replaceable></arg></arg> </group> </cmdsynopsis> </refsynopsisdiv> @@ -67,14 +67,15 @@ condition="manual">See also <xref linkend="sec-channels" </varlistentry> - <varlistentry><term><option>--update</option></term> + <varlistentry><term><option>--update</option> [<replaceable>names</replaceable>…]</term> <listitem><para>Downloads the Nix expressions of all subscribed - channels, makes them the default for <command>nix-env</command> - operations (by symlinking them from the directory - <filename>~/.nix-defexpr</filename>), and performs a - <command>nix-pull</command> on the manifests of all channels to - make pre-built binaries available.</para></listitem> + channels (or only those included in + <replaceable>names</replaceable> if specified), makes them the + default for <command>nix-env</command> operations (by symlinking + them from the directory <filename>~/.nix-defexpr</filename>), and + performs a <command>nix-pull</command> on the manifests of all + channels to make pre-built binaries available.</para></listitem> </varlistentry> |