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