summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2015-06-28 15:44:05 +0200
committerMatthias Beyer <mail@beyermatthias.de>2015-09-07 16:11:45 +0200
commitd0fb9648ce12a47b8490626df449b2bf6aa4ab16 (patch)
tree64b635e426abf0487eea754b72d3b6f6c55a3b17
parentcccf8001bd93a4b459609c3792dc679e695ed86b (diff)
Ugly fix: Hard-code (more or less) help synopsis string
-rwxr-xr-xnix-script-channel-checkout-generation.sh2
-rwxr-xr-xnix-script-channel-diff-generations.sh2
-rwxr-xr-xnix-script-channel-list-generations.sh2
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 <<EOS
- $(help_synopsis "${BASH_SOURCE[0]}" "[-h] [-g <n>]")
+ $(help_synopsis "channel" "checkout-generation [-h] [-g <n>]")
-g <n> 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 <<EOS >&2
- $(help_synopsis "${BASH_SOURCE[0]}" "[-g <command>] [-w <path>] [-n <generations>] [-h]")
+ $(help_synopsis "channel" "diff-generations [-g <command>] [-w <path>] [-n <generations>] [-h]")
-g <command> | Use this command instead of 'diff --name-only' (currently no support for multi-word args)
-w <path> | 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 <<EOS >&2
- $(help_synopsis "${BASH_SOURCE[0]}" "[-h]")
+ $(help_synopsis "channel" "list-generations [-h]")
-h | Show this help and exit