aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2016-06-12 00:21:22 +0200
committerMathieu Lirzin <mthl@gnu.org>2016-06-13 18:09:55 +0200
commit64c64d8d7158e29a09e579be113bfe5e9681cd5d (patch)
treecd0ff2d35d02c75a92a5ef8fe0578cdbd0c0d74b
parent39750281f6d2e991be3af121bca6d22701263d44 (diff)
downloadcuirass-64c64d8d7158e29a09e579be113bfe5e9681cd5d.tar
cuirass-64c64d8d7158e29a09e579be113bfe5e9681cd5d.tar.gz
cuirass: Fix 'show-help' argument.
* bin/cuirass.in (show-help): Remove reference to unbound variable 'program-name'. Turn PROG into a mandatory argument.
-rw-r--r--bin/cuirass.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cuirass.in b/bin/cuirass.in
index 9e0cf2b..d3d585a 100644
--- a/bin/cuirass.in
+++ b/bin/cuirass.in
@@ -27,7 +27,7 @@ exec ${GUILE:-@GUILE@} --no-auto-compile -e main -s "$0" "$@"
(ice-9 getopt-long)
(ice-9 match))
-(define* (show-help #:optional (prog (program-name)))
+(define* (show-help prog)
(simple-format #t "Usage: ~a [OPTIONS] [CACHEDIR]" prog)
(display "
Run Guix job from a git repository cloned in CACHEDIR.