summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2023-01-04 19:10:32 -0600
committerGuix Patches Tester <>2023-01-11 14:59:32 +0100
commitee90e4e7e16d2a1aaa2485b3709adb52e1b251d6 (patch)
treee5a46773bed65d68b59a610dd13b5d4dc2141685
parente55bc944a94134f7ff2a4ab4a0e8b9a5ac9d46d1 (diff)
downloadguix-patches-ee90e4e7e16d2a1aaa2485b3709adb52e1b251d6.tar
guix-patches-ee90e4e7e16d2a1aaa2485b3709adb52e1b251d6.tar.gz
scripts: refresh: Add -T option.
* doc/guix.texi (Invoking guix refresh): Document the -T option. * guix/scripts/refresh.scm (%options): Add the -T flag.
-rw-r--r--doc/guix.texi1
-rw-r--r--guix/scripts/refresh.scm4
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 293c3016aa..24d99cbf24 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -14198,6 +14198,7 @@ for compatibility with an upgraded @code{flex} package.
@table @code
@item --list-transitive
+@item --T
List all the packages which one or more packages depend upon.
@example
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index 6498d73c2b..6b633840e0 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -101,7 +101,7 @@
(option '(#\r "recursive") #f #f
(lambda (opt name arg result)
(alist-cons 'recursive? #t result)))
- (option '("list-transitive") #f #f
+ (option '(#\T "list-transitive") #f #f
(lambda (opt name arg result)
(alist-cons 'list-transitive? #t result)))
@@ -159,7 +159,7 @@ specified with `--select'.\n"))
(display (G_ "
-r, --recursive check the PACKAGE and its inputs for upgrades"))
(display (G_ "
- --list-transitive list all the packages that PACKAGE depends on"))
+ -T, --list-transitive list all the packages that PACKAGE depends on"))
(newline)
(display (G_ "
--keyring=FILE use FILE as the keyring of upstream OpenPGP keys"))