summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2015-07-10 18:57:12 +0200
committerMatthias Beyer <mail@beyermatthias.de>2015-07-10 18:57:12 +0200
commitf182d64d8ada7e57de3ff6ac5d32cf0555213c08 (patch)
treee68b839f2f3a12733ee82be795c2a2ee16e60acb
parent451e27c832c0877aa7fa0a4fd354012c0357f9ba (diff)
diff-generations: More help text
-rwxr-xr-xnix-script-diff-generations.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/nix-script-diff-generations.sh b/nix-script-diff-generations.sh
index 0721d23..0df561d 100755
--- a/nix-script-diff-generations.sh
+++ b/nix-script-diff-generations.sh
@@ -11,6 +11,15 @@ usage() {
-n a..b Diff these generations
-h Show this help and exit
+ Show the diff between two generations, so the installed and removed
+ packages.
+
+ Example usage:
+
+ # To show the diff of the system generation 123 to 145
+ # with verbosity on
+ nix-script -v diff-generations -s -n 123..145
+
$(help_end)
EOS
}