scripts: graph: Handle EPIPE errors when displaying help.
* guix/scripts/graph.scm (%options): Handle EPIPE errors when displaying help.
This commit is contained in:
parent
cba0fa6f4f
commit
ba8a43f220
@ -510,7 +510,7 @@ package modules, while attempting to retain user package modules."
|
|||||||
%standard-build-options)
|
%standard-build-options)
|
||||||
(option '(#\h "help") #f #f
|
(option '(#\h "help") #f #f
|
||||||
(lambda args
|
(lambda args
|
||||||
(show-help)
|
(leave-on-EPIPE (show-help))
|
||||||
(exit 0)))
|
(exit 0)))
|
||||||
(option '(#\V "version") #f #f
|
(option '(#\V "version") #f #f
|
||||||
(lambda args
|
(lambda args
|
||||||
|
Loading…
Reference in New Issue
Block a user