scripts: gc: Handle EPIPE errors when displaying help.
* guix/scripts/gc.scm (%options): Handle EPIPE errors when displaying help.
parent
8ed377978e
commit
330540b638
|
@ -132,7 +132,7 @@ current one."
|
|||
;; Specification of the command-line options.
|
||||
(list (option '(#\h "help") #f #f
|
||||
(lambda args
|
||||
(show-help)
|
||||
(leave-on-EPIPE (show-help))
|
||||
(exit 0)))
|
||||
(option '(#\V "version") #f #f
|
||||
(lambda args
|
||||
|
|
Reference in New Issue