From: Simon Tournier <zimon.toutoune@gmail.com>
To: 66499@debbugs.gnu.org
Cc: othacehe@gnu.org, Simon Tournier <zimon.toutoune@gmail.com>
Subject: [bug#66499] [PATCH v2 23/39] scripts: package: Handle EPIPE errors when displaying help.
Date: Mon, 16 Oct 2023 19:29:41 +0200 [thread overview]
Message-ID: <d84c1d60c5b658b3e8b60fba6bd399bcf598017c.1697475790.git.zimon.toutoune@gmail.com> (raw)
In-Reply-To: <29fe44a94b28a6e9f1fc6cb12b6180ab1c4bdcb1.1697475790.git.zimon.toutoune@gmail.com>
Reported by Mathieu Othacehe <othacehe@gnu.org>.
* guix/scripts/package.scm (%options): Handle EPIPE errors when displaying
help.
---
guix/scripts/package.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index ab1968b62d..a489e06e73 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -504,7 +504,7 @@ (define %options
;; Specification of the command-line options.
(cons* (option '(#\h "help") #f #f
(lambda args
- (show-help)
+ (leave-on-EPIPE (show-help))
(exit 0)))
(option '(#\V "version") #f #f
(lambda args
--
2.38.1
next prev parent reply other threads:[~2023-10-16 17:33 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-12 13:39 [bug#66499] [PATCH] ui: Handle EPIPE errors when displaying Guix version Simon Tournier
2023-10-14 8:13 ` Mathieu Othacehe
2023-10-16 17:04 ` Simon Tournier
2023-10-17 9:47 ` Mathieu Othacehe
2023-10-17 12:57 ` bug#66499: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 01/39] " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 02/39] scripts: archive: Handle EPIPE errors when displaying help Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 03/39] scripts: build: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 04/39] scripts: challenge: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 05/39] scripts: container: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 06/39] scripts: copy: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 07/39] scripts: deploy: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 08/39] scripts: describe: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 09/39] scripts: discover: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 10/39] scripts: download: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 11/39] scripts: edit: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 12/39] scripts: gc: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 13/39] scripts: git: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 14/39] scripts: graph: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 15/39] scripts: hash: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 16/39] scripts: home: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 17/39] scripts: import: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 18/39] scripts: install: " Simon Tournier via Guix-patches
2023-10-16 17:29 ` [bug#66499] [PATCH v2 19/39] scripts: lint: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 20/39] scripts: locate: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 21/39] scripts: offload: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 22/39] scripts: pack: " Simon Tournier
2023-10-16 17:29 ` Simon Tournier [this message]
2023-10-16 17:29 ` [bug#66499] [PATCH v2 24/39] scripts: processes: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 25/39] scripts: publish: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 26/39] scripts: pull: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 27/39] scripts: refresh: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 28/39] scripts: remove: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 29/39] scripts: repl: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 30/39] scripts: search: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 31/39] scripts: shell: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 32/39] scripts: show: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 33/39] scripts: size: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 34/39] scripts: style: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 35/39] scripts: system: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 36/39] scripts: substitute: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 37/39] scripts: time-machine: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 38/39] scripts: upgrade: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 39/39] scripts: weather: " Simon Tournier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d84c1d60c5b658b3e8b60fba6bd399bcf598017c.1697475790.git.zimon.toutoune@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=66499@debbugs.gnu.org \
--cc=othacehe@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.