diff options
author | jgart <jgart@dismail.de> | 2023-01-04 19:10:32 -0600 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-21 14:56:52 -0400 |
commit | 4e9f914680988a23e369c16616c31a4dbd8da3e4 (patch) | |
tree | dc1f8af525ea4341efa566e22c258de7f1d099e7 | |
parent | c88582a6740777b5f15690990b04cdd153905042 (diff) | |
download | guix-4e9f914680988a23e369c16616c31a4dbd8da3e4.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. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
-rw-r--r-- | doc/guix.texi | 1 | ||||
-rw-r--r-- | guix/scripts/refresh.scm | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 77ee2c6e30..330d83d9ab 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -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 diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm index ee94ed29a1..bc6c24967a 100644 --- a/guix/scripts/refresh.scm +++ b/guix/scripts/refresh.scm @@ -98,7 +98,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))) @@ -156,7 +156,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")) |