about summary refs log tree commit diff
path: root/src/nix-env/help.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-env/help.txt')
-rw-r--r--src/nix-env/help.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nix-env/help.txt b/src/nix-env/help.txt
index 9a772fc8330a..f363d3f94f32 100644
--- a/src/nix-env/help.txt
+++ b/src/nix-env/help.txt
@@ -22,6 +22,16 @@ name `*' may be used to indicate all derivations.
   --version: output version information
   --help: display help
 
+Install / upgrade / uninstall flags:
+
+  --dry-run: show what would be done, but don't do it
+
+Upgrade flags:
+
+  --lt: upgrade unless the current version is older (default)
+  --leq: upgrade unless the current version is older or current
+  --always: upgrade regardless of current version
+
 Query types:
 
   --name: print derivation names (default)