scripts: weather: Handle EPIPE errors when displaying help.
* guix/scripts/weather.scm (%options): Handle EPIPE errors when displaying help.
This commit is contained in:
parent
16e53f1687
commit
daaebc6457
@ -360,7 +360,7 @@ Report the availability of substitutes.\n"))
|
||||
(define %options
|
||||
(cons* (option '(#\h "help") #f #f
|
||||
(lambda args
|
||||
(show-help)
|
||||
(leave-on-EPIPE (show-help))
|
||||
(exit 0)))
|
||||
(option '(#\V "version") #f #f
|
||||
(lambda args
|
||||
|
Loading…
Reference in New Issue
Block a user