diff --git a/doc/manual/command-ref/nix-env.xml b/doc/manual/command-ref/nix-env.xml
index 693f23f7f..9d13d3014 100644
--- a/doc/manual/command-ref/nix-env.xml
+++ b/doc/manual/command-ref/nix-env.xml
@@ -1370,10 +1370,10 @@ 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 only keep the specified number of generations.
+Periodically deleting old generations is important to make garbage collection
+effective.