unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 59235@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#59235] [PATCH v3 1/2] guix: scripts: refresh: Add short flag -R for --list-transitive option.
Date: Sun, 13 Nov 2022 09:38:04 -0600	[thread overview]
Message-ID: <20221113153804.9781-1-jgart@dismail.de> (raw)
In-Reply-To: <20221113032832.16933-1-jgart@dismail.de>

* guix/scripts/refresh.scm (%options): Add short flag -R.

Here's v3 adding a doc entry.

all best,

jgart
---
 guix/scripts/refresh.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index 14329751f8..aff32c13de 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2020 Simon Tournier <zimon.toutoune@gmail.com>
 ;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
+;;; Copyright © 2022 jgart <jgart@dismail.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -99,7 +100,7 @@ (define %options
         (option '(#\r "recursive") #f #f
                 (lambda (opt name arg result)
                   (alist-cons 'recursive? #t result)))
-        (option '("list-transitive") #f #f
+        (option '(#\R "list-transitive") #f #f
                 (lambda (opt name arg result)
                   (alist-cons 'list-transitive? #t result)))
 
@@ -157,7 +158,7 @@ (define (show-help)
   (display (G_ "
   -r, --recursive        check the PACKAGE and its inputs for upgrades"))
   (display (G_ "
-      --list-transitive  list all the packages that PACKAGE depends on"))
+  -R, --list-transitive  list all the packages that PACKAGE depends on"))
   (newline)
   (display (G_ "
       --keyring=FILE     use FILE as the keyring of upstream OpenPGP keys"))
-- 
2.38.1





  parent reply	other threads:[~2022-11-13 15:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-13  3:28 [bug#59235] [PATCH] gnu: %options: Add short flag -R for --list-transitive option jgart via Guix-patches via
2022-11-13  7:56 ` ( via Guix-patches via
2022-11-13 15:05 ` [bug#59235] [PATCH v2] guix: scripts: refresh: " jgart via Guix-patches via
2022-11-13 15:38 ` jgart via Guix-patches via [this message]
2022-11-13 15:38   ` [bug#59235] [PATCH v3 2/2] doc: Mention --list-transitive short flag in the manual jgart via Guix-patches via
2022-11-13 16:01   ` [bug#59235] [PATCH v3 1/2] guix: scripts: refresh: Add short flag -R for --list-transitive option ( via Guix-patches via
2022-11-13 16:27 ` [bug#59235] [PATCH v4 1/2] " jgart via Guix-patches via
2022-11-13 16:27   ` [bug#59235] [PATCH v4 2/2] doc: Mention --list-transitive short flag in the manual jgart via Guix-patches via

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=20221113153804.9781-1-jgart@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=59235@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    /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).