From d0fb9648ce12a47b8490626df449b2bf6aa4ab16 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 28 Jun 2015 15:44:05 +0200 Subject: Ugly fix: Hard-code (more or less) help synopsis string --- nix-script-channel-checkout-generation.sh | 2 +- nix-script-channel-diff-generations.sh | 2 +- nix-script-channel-list-generations.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nix-script-channel-checkout-generation.sh b/nix-script-channel-checkout-generation.sh index 044e2d0..ba0db5e 100755 --- a/nix-script-channel-checkout-generation.sh +++ b/nix-script-channel-checkout-generation.sh @@ -4,7 +4,7 @@ source $(dirname ${BASH_SOURCE[0]})/nix-utils.sh usage() { cat <]") + $(help_synopsis "channel" "checkout-generation [-h] [-g ]") -g Generation to checkout -h Show this help and exit diff --git a/nix-script-channel-diff-generations.sh b/nix-script-channel-diff-generations.sh index 5e65397..2e5972a 100755 --- a/nix-script-channel-diff-generations.sh +++ b/nix-script-channel-diff-generations.sh @@ -4,7 +4,7 @@ source $(dirname ${BASH_SOURCE[0]})/nix-utils.sh usage() { cat <&2 - $(help_synopsis "${BASH_SOURCE[0]}" "[-g ] [-w ] [-n ] [-h]") + $(help_synopsis "channel" "diff-generations [-g ] [-w ] [-n ] [-h]") -g | Use this command instead of 'diff --name-only' (currently no support for multi-word args) -w | Path to working-copy of nixpkgs git repo, default: $RC_NIXPKGS diff --git a/nix-script-channel-list-generations.sh b/nix-script-channel-list-generations.sh index 6ab5408..3b4cc87 100755 --- a/nix-script-channel-list-generations.sh +++ b/nix-script-channel-list-generations.sh @@ -7,7 +7,7 @@ Red='\e[0;31m' usage() { cat <&2 - $(help_synopsis "${BASH_SOURCE[0]}" "[-h]") + $(help_synopsis "channel" "list-generations [-h]") -h | Show this help and exit -- cgit v1.2.3