This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=afaee98af7da34102472cf117472bbdcd6d707b4

commit afaee98af7da34102472cf117472bbdcd6d707b4
Author: Guillem Jover <[email protected]>
AuthorDate: Sun Nov 21 10:00:22 2021 +0100

    u-a: Print defaults for configuration and database pathnames
    
    Otherwise it is hard to infer what the current program will be using by
    default.
---
 utils/update-alternatives.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/utils/update-alternatives.c b/utils/update-alternatives.c
index dabfa15a5..29a09f686 100644
--- a/utils/update-alternatives.c
+++ b/utils/update-alternatives.c
@@ -162,8 +162,10 @@ usage(void)
 
        printf(_(
 "Options:\n"
-"  --altdir <directory>     change the alternatives directory.\n"
-"  --admindir <directory>   change the administrative directory.\n"
+"  --altdir <directory>     change the alternatives directory\n"
+"                             (default is %s).\n"
+"  --admindir <directory>   change the administrative directory\n"
+"                             (default is %s).\n"
 "  --instdir <directory>    change the installation directory.\n"
 "  --root <directory>       change the filesystem root directory.\n"
 "  --log <file>             change the log file.\n"
@@ -175,7 +177,7 @@ usage(void)
 "  --debug                  debug output, way more output.\n"
 "  --help                   show this help message.\n"
 "  --version                show the version.\n"
-));
+), altdir, admdir);
 }
 
 static void DPKG_ATTR_NORET DPKG_ATTR_PRINTF(1)

-- 
Dpkg.Org's dpkg

Reply via email to