cuirass: Fix 'show-help' argument.

* bin/cuirass.in (show-help): Remove reference to unbound variable
'program-name'.  Turn PROG into a mandatory argument.
pull/3/head
Mathieu Lirzin 2016-06-12 00:21:22 +02:00
parent 39750281f6
commit 64c64d8d71
No known key found for this signature in database
GPG Key ID: 0ADEE10094604D37
1 changed files with 1 additions and 1 deletions

View File

@ -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.