unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
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 26/39] scripts: pull: Handle EPIPE errors when displaying help.
Date: Mon, 16 Oct 2023 19:29:44 +0200	[thread overview]
Message-ID: <9ecdeb6ee370500e2e90c3e275a8d5c9c37596f2.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/pull.scm (%options): Handle EPIPE errors when displaying help.
---
 guix/scripts/pull.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/scripts/pull.scm b/guix/scripts/pull.scm
index 1904a6913a..58d3cd7e83 100644
--- a/guix/scripts/pull.scm
+++ b/guix/scripts/pull.scm
@@ -201,7 +201,7 @@ (define %options
 
          (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





  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   ` [bug#66499] [PATCH v2 23/39] scripts: package: " Simon Tournier
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   ` Simon Tournier [this message]
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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9ecdeb6ee370500e2e90c3e275a8d5c9c37596f2.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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).