scripts: install: Handle EPIPE errors when displaying help.
* guix/scripts/install.scm (%options): Handle EPIPE errors when displaying help.
parent
79b6eef750
commit
a5d9042663
|
@ -52,7 +52,7 @@ This is an alias for 'guix package -i'.\n"))
|
||||||
;; Specification of the command-line options.
|
;; Specification of the command-line options.
|
||||||
(cons* (option '(#\h "help") #f #f
|
(cons* (option '(#\h "help") #f #f
|
||||||
(lambda args
|
(lambda args
|
||||||
(show-help)
|
(leave-on-EPIPE (show-help))
|
||||||
(exit 0)))
|
(exit 0)))
|
||||||
(option '(#\V "version") #f #f
|
(option '(#\V "version") #f #f
|
||||||
(lambda args
|
(lambda args
|
||||||
|
|
Reference in New Issue