scripts: describe: Handle EPIPE errors when displaying help.

* guix/scripts/describe.scm (%options): Handle EPIPE errors when displaying
help.
This commit is contained in:
Simon Tournier 2023-10-16 18:39:41 +02:00
parent c150267648
commit a53e5fb121
No known key found for this signature in database
GPG Key ID: 92F1D22C608EE7E5

View File

@ -74,7 +74,7 @@
result)))
(option '(#\h "help") #f #f
(lambda args
(show-help)
(leave-on-EPIPE (show-help))
(exit 0)))
(option '(#\V "version") #f #f
(lambda args