1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

nspawn: highlight description string in --help text

We do so in most tools now, do so here, too.
This commit is contained in:
Lennart Poettering 2019-11-28 10:51:31 +01:00
parent d2a56598d0
commit 37a92352d6

View File

@ -290,7 +290,7 @@ static int help(void) {
return log_oom();
printf("%1$s [OPTIONS...] [PATH] [ARGUMENTS...]\n\n"
"Spawn a command or OS in a light-weight container.\n\n"
"%5$sSpawn a command or OS in a light-weight container.%6$s\n\n"
" -h --help Show this help\n"
" --version Print version string\n"
" -q --quiet Do not show status information\n"
@ -405,7 +405,9 @@ static int help(void) {
"\nSee the %2$s for details.\n"
, program_invocation_short_name
, link
, ansi_underline(), ansi_normal());
, ansi_underline(), ansi_normal()
, ansi_highlight(), ansi_normal()
);
return 0;
}