From 51f0e43388d48538fdc7db184b30d5e5ce1f4fdb Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 10 Jul 2015 18:55:26 +0200 Subject: nix-script: Use help text helper functions Fixes #42 --- nix-script | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'nix-script') diff --git a/nix-script b/nix-script index 0a9ed80..4acc38d 100755 --- a/nix-script +++ b/nix-script @@ -2,14 +2,13 @@ usage() { cat <&2 - $(basename $0) [options] + $(help_synopsis "${BASE_SOURCE[0]}" "[options] ") -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 } -- cgit v1.2.3