scripts: edit: Handle EPIPE errors when displaying help.
* guix/scripts/edit.scm (%options): Handle EPIPE errors when displaying help.
parent
25331ae62b
commit
8ed377978e
|
@ -37,7 +37,7 @@
|
|||
%standard-build-options)
|
||||
(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