summaryrefslogtreecommitdiff
path: root/src/tty-ask-password-agent
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-05-23 09:54:41 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-05-31 19:22:51 +0200
commit0727077b532f9eea57cf77c4a9d331b6a6c62aa6 (patch)
tree49ff1eb79fd0d9395e11379e08597c41f9fc9e4f /src/tty-ask-password-agent
parentaf88c399c0f666abd929b2c906c283731e746458 (diff)
downloadsystemd-0727077b532f9eea57cf77c4a9d331b6a6c62aa6.tar.gz
tty-ask-password-agent: highlight summary in help
Diffstat (limited to 'src/tty-ask-password-agent')
-rw-r--r--src/tty-ask-password-agent/tty-ask-password-agent.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-password-agent/tty-ask-password-agent.c
index e7d3a5dbc9..80f5408e12 100644
--- a/src/tty-ask-password-agent/tty-ask-password-agent.c
+++ b/src/tty-ask-password-agent/tty-ask-password-agent.c
@@ -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;