diff mbox series

[bug#59235] gnu: %options: Add short flag -R for --list-transitive option.

Message ID 20221113032832.16933-1-jgart@dismail.de
State New
Headers show
Series [bug#59235] gnu: %options: Add short flag -R for --list-transitive option. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch success
cbaines/issue success View issue

Commit Message

jgart Nov. 13, 2022, 3:28 a.m. UTC
* guix/scripts/refresh.scm (%options): Add short flag -R.
---
 guix/scripts/refresh.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

\( Nov. 13, 2022, 7:56 a.m. UTC | #1
On Sun Nov 13, 2022 at 3:28 AM GMT, jgart via Guix-patches via wrote:
> gnu: %options: ...

This should be:

  scripts: refresh: ...

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

Other than that, LGTM! :)

    -- (
diff mbox series

Patch

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"))