diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2015-07-10 18:55:26 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2015-07-10 18:55:26 +0200 |
commit | 51f0e43388d48538fdc7db184b30d5e5ce1f4fdb (patch) | |
tree | b797a99153aa67b34c74a370f93b9068f114f37d /nix-script | |
parent | 451e27c832c0877aa7fa0a4fd354012c0357f9ba (diff) |
nix-script: Use help text helper functions
Fixes #42
Diffstat (limited to 'nix-script')
-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 } |