diff --git a/doc/manual/command-ref/nix-env.xml b/doc/manual/command-ref/nix-env.xml
index 693f23f7f..c8c01f9a4 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 old to delete all non-current
generations, a value such as 30d 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.
-+5 to only keep the specified items older than the
-current generation. Periodically deleting old generations is important
-to make garbage collection effective.
+generation that was active at that point in time), or a value such as
++5 to keep the last 5 generations
+ignoring any newer than current, e.g., if 30 is the current
+generation +5 will delete generation 25
+and all older generations.
+Periodically deleting old generations is important to make garbage collection
+effective.