Subject: [bug#66499] [PATCH v2 34/39] scripts: style: Handle EPIPE errors when displaying help.

From: Simon Tournier <[email-masked]>
Date: Mon, 16 Oct 2023 19:29:52 +0200

* guix/scripts/style.scm (%options): Handle EPIPE errors when displaying help.
---
 guix/scripts/style.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/scripts/style.scm b/guix/scripts/style.scm
index 4920a8d969..145cd09881 100644
--- a/guix/scripts/style.scm
+++ b/guix/scripts/style.scm
@@ -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
-- 
2.38.1