scripts: publish: Handle EPIPE errors when displaying help.
* guix/scripts/publish.scm (%options): Handle EPIPE errors when displaying help.
parent
bfc6c54131
commit
3a665d789f
|
@ -160,7 +160,7 @@ usage."
|
||||||
(define %options
|
(define %options
|
||||||
(list (option '(#\h "help") #f #f
|
(list (option '(#\h "help") #f #f
|
||||||
(lambda _
|
(lambda _
|
||||||
(show-help)
|
(leave-on-EPIPE (show-help))
|
||||||
(exit 0)))
|
(exit 0)))
|
||||||
(option '(#\V "version") #f #f
|
(option '(#\V "version") #f #f
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Reference in New Issue