diff --git a/doc/manual/nix-env.xml b/doc/manual/nix-env.xml
index a6b596408..a03afaf5c 100644
--- a/doc/manual/nix-env.xml
+++ b/doc/manual/nix-env.xml
@@ -256,7 +256,7 @@ number of possible ways:
attribute paths that select attributes from the
top-level Nix expression. This is faster than using derivation
names and unambiguous. To find out the attribute paths of available
- packages, use nix-env -qaA '*'.
+ packages, use nix-env -qaP '*'.
If
path is given,