about summary refs log tree commit diff
path: root/doc/manual/command-ref
diff options
context:
space:
mode:
authorMatthew O'Gorman <mog@rldn.net>2018-03-02T03·59-0500
committerMatthew O'Gorman <mog@rldn.net>2018-03-02T03·59-0500
commit467fdd8ca4d63972dbd94f0496918522c58916a0 (patch)
tree35b9fecc948d238e1a24ae9bd063459bfd7c111f /doc/manual/command-ref
parent3c16044cb0acc87e128534cb3e2a2006b71059b6 (diff)
only delete things older than current gen and update logic in doc as
well
Diffstat (limited to 'doc/manual/command-ref')
-rw-r--r--doc/manual/command-ref/nix-env.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/manual/command-ref/nix-env.xml b/doc/manual/command-ref/nix-env.xml
index f0e70a41c024..7eb9cc855bae 100644
--- a/doc/manual/command-ref/nix-env.xml
+++ b/doc/manual/command-ref/nix-env.xml
@@ -1349,9 +1349,9 @@ special value <literal>old</literal> to delete all non-current
 generations,  a value such as <literal>30d</literal> to delete all
 generations older than the specified number of days (except for the
 generation that was active at that point in time), or a value such as.
-<literal>+5</literal> to delete all but the number of items specified.
-Periodically deleting old generations is important to make garbage
-collection effective.</para>
+<literal>+5</literal> to only keep the specified items older than the
+current generation. Periodically deleting old generations is important
+to make garbage collection effective.</para>
 
 </refsection>
 
@@ -1461,7 +1461,7 @@ error: no generation older than the current (91) exists</screen>
 <refsection condition="manpage"><title>Environment variables</title>
 
 <variablelist>
-  
+
   <varlistentry><term><envar>NIX_PROFILE</envar></term>
 
     <listitem><para>Location of the Nix profile.  Defaults to the
@@ -1475,6 +1475,6 @@ error: no generation older than the current (91) exists</screen>
 </variablelist>
 
 </refsection>
-  
+
 
 </refentry>