diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2016-06-12 00:21:22 +0200 |
---|---|---|
committer | Mathieu Lirzin <mthl@gnu.org> | 2016-06-13 18:09:55 +0200 |
commit | 64c64d8d7158e29a09e579be113bfe5e9681cd5d (patch) | |
tree | cd0ff2d35d02c75a92a5ef8fe0578cdbd0c0d74b | |
parent | 39750281f6d2e991be3af121bca6d22701263d44 (diff) | |
download | cuirass-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.in | 2 |
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. |