diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2015-07-10 19:10:50 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2015-07-10 19:10:50 +0200 |
commit | cdc3cd98cccfc56b6c9eeccaad4df18aed268058 (patch) | |
tree | aca8613d2aebc697b96a5d86b43006cc987ffa5a | |
parent | e3b9acb1dfe6f3c339cf5a2f12110c3662dd902c (diff) | |
parent | 51f0e43388d48538fdc7db184b30d5e5ce1f4fdb (diff) |
Merge pull request #48 from matthiasbeyer/fix-#42
nix-script: Use help text helper functions
-rwxr-xr-x | nix-script | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -2,14 +2,13 @@ usage() { cat <<EOS >&2 - $(basename $0) [options] <command> <commandoptions> + $(help_synopsis "${BASE_SOURCE[0]}" "[options] <command> <commandoptions>") -l | --list-commands List all available commands -v Be verbose -h Show this help and exit - (c) 2015 Matthias Beyer - GPLv2 licensed +$(help_end) EOS } |