summaryrefslogtreecommitdiffstats
path: root/nix-script
diff options
context:
space:
mode:
Diffstat (limited to 'nix-script')
-rwxr-xr-xnix-script5
1 files changed, 2 insertions, 3 deletions
diff --git a/nix-script b/nix-script
index 0a9ed80..4acc38d 100755
--- a/nix-script
+++ b/nix-script
@@ -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
}