diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2015-07-10 18:59:40 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2015-07-10 18:59:40 +0200 |
commit | 0966079425a4a58566c675ba3788da4c51c3ea83 (patch) | |
tree | f923f7fd20415b7ea07b390de0493da527a0a933 | |
parent | f182d64d8ada7e57de3ff6ac5d32cf0555213c08 (diff) |
ls-profiles: More help text
-rwxr-xr-x | nix-script-ls-profiles.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nix-script-ls-profiles.sh b/nix-script-ls-profiles.sh index 3ee0324..be2eae4 100755 --- a/nix-script-ls-profiles.sh +++ b/nix-script-ls-profiles.sh @@ -14,6 +14,20 @@ usage() { -n | Show only profile numbers -h | Show this help and exit + Show the generations which are currently available for either the + current user (-u | --user) or the current system (-s | --system) + profile. + + Per default, this shows the link name, if you pass -n it only shows + the numbers. + + Example usage: + + # To show the profile generations for the system generation, but + # only the numbers. + # With verbosity on. + nix-script -v ls-profiles -s -n + $(help_end) EOS } |