From: Lennart Poettering Date: Thu, 28 Nov 2019 09:51:31 +0000 (+0100) Subject: nspawn: highlight description string in --help text X-Git-Tag: v244~16^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37a92352d6bbac65ca6b1b3c958939a4ccc7d51a;p=thirdparty%2Fsystemd.git nspawn: highlight description string in --help text We do so in most tools now, do so here, too. --- diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 7f44272a889..873a76596f0 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -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; }