diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-08-29T13·22+0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-29T13·22+0200 |
commit | 8478c99d09495485683c8442af640231622e9811 (patch) | |
tree | 712c2ae2afdd879d6f776483df87faa8f1b6ac49 | |
parent | a2c4fcd5e9782dc8d2998773380c7171ee53b813 (diff) | |
parent | 5bdac86be2eb6d541784c4f149bfa06b59ef63a2 (diff) |
Merge pull request #3048 from toonn/nix-env_doc
Fix nix-env documentation for --delete-generations
-rw-r--r-- | doc/manual/command-ref/nix-env.xml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/manual/command-ref/nix-env.xml b/doc/manual/command-ref/nix-env.xml index 693f23f7f338..c8c01f9a44fa 100644 --- a/doc/manual/command-ref/nix-env.xml +++ b/doc/manual/command-ref/nix-env.xml @@ -1370,10 +1370,13 @@ profile. The generations can be a list of generation numbers, the 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 only keep the specified items older than the -current generation. Periodically deleting old generations is important -to make garbage collection effective.</para> +generation that was active at that point in time), or a value such as +<literal>+5</literal> to keep the last <literal>5</literal> generations +ignoring any newer than current, e.g., if <literal>30</literal> is the current +generation <literal>+5</literal> will delete generation <literal>25</literal> +and all older generations. +Periodically deleting old generations is important to make garbage collection +effective.</para> </refsection> |