scripts: style: Handle EPIPE errors when displaying help.

* guix/scripts/style.scm (%options): Handle EPIPE errors when displaying help.
This commit is contained in:
Simon Tournier 2023-10-16 18:46:49 +02:00
parent 426f52826b
commit 08b16ebcb3
No known key found for this signature in database
GPG key ID: 92F1D22C608EE7E5

View file

@ -547,7 +547,7 @@ (define %options
(option '(#\h "help") #f #f
(lambda args
(show-help)
(leave-on-EPIPE (show-help))
(exit 0)))
(option '(#\l "list-stylings") #f #f
(lambda args