]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tty-ask-password-agent: highlight summary in help
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 23 May 2021 07:54:41 +0000 (09:54 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 31 May 2021 17:22:51 +0000 (19:22 +0200)
src/tty-ask-password-agent/tty-ask-password-agent.c

index e7d3a5dbc9deefaa6d49887c884eee3954c4c422..80f5408e126e327ec0a7d2b0e62e10031bdb65ef 100644 (file)
@@ -411,7 +411,7 @@ static int help(void) {
                 return log_oom();
 
         printf("%s [OPTIONS...]\n\n"
-               "Process system password requests.\n\n"
+               "%sProcess system password requests.%s\n\n"
                "  -h --help              Show this help\n"
                "     --version           Show package version\n"
                "     --list              Show pending password requests\n"
@@ -423,6 +423,8 @@ static int help(void) {
                "                         instead of the current TTY\n"
                "\nSee the %s for details.\n",
                program_invocation_short_name,
+               ansi_highlight(),
+               ansi_normal(),
                link);
 
         return 0;