diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2015-07-10 19:00:52 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2015-07-10 19:00:52 +0200 |
commit | 26a52d1416e7049ac2a959f0387e29f494f79a15 (patch) | |
tree | 222f9029b6841ba1703ac372296de9b734c0363d /nix-script-show-generation.sh | |
parent | 0966079425a4a58566c675ba3788da4c51c3ea83 (diff) |
show-generation: Add help text
Diffstat (limited to 'nix-script-show-generation.sh')
-rwxr-xr-x | nix-script-show-generation.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nix-script-show-generation.sh b/nix-script-show-generation.sh index 5924846..27320ad 100755 --- a/nix-script-show-generation.sh +++ b/nix-script-show-generation.sh @@ -10,6 +10,15 @@ usage() { -u Show user generation (default) -h Show this help and exit + Show the number of the current generations. Defaults to user + profile, but system profile can be checked as well. + + Example usage: + + # To show the system generation which is current. + # With verbosity on. + nix-script -v show-generations -s + $(help_end) EOS } |