scripts: refresh: Add -T option.

* doc/guix.texi (Invoking guix refresh): Document the -T option.
* guix/scripts/refresh.scm (%options): Add the -T flag.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
jgart 2023-01-04 19:10:32 -06:00 committed by Maxim Cournoyer
parent c88582a674
commit 4e9f914680
No known key found for this signature in database
GPG key ID: 1260E46482E63562
2 changed files with 3 additions and 2 deletions

View file

@ -14324,6 +14324,7 @@ for compatibility with an upgraded @code{flex} package.
@table @code
@item --list-transitive
@itemx --T
List all the packages which one or more packages depend upon.
@example

View file

@ -98,7 +98,7 @@ (define %options
(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)))
@ -156,7 +156,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"))
-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"))