nix-env --delete-generations: Support --dry-run flag

Fixes #43.
This commit is contained in:
Eelco Dolstra 2012-09-13 18:05:04 -04:00
parent 1bda006b74
commit 9fd9dedf12
2 changed files with 12 additions and 6 deletions

View file

@ -105,7 +105,8 @@ also <xref linkend="sec-common-options" />.</phrase></para>
<listitem><para>For the <option>--install</option>,
<option>--upgrade</option>, <option>--uninstall</option>,
<option>--switch-generation</option> and
<option>--switch-generation</option>,
<option>--delete-generations</option> and
<option>--rollback</option> operations, this flag will cause
<command>nix-env</command> to print what
<emphasis>would</emphasis> be done if this flag had not been