mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ (define (show-help)
|
|||
(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 a new issue