From: Lennart Poettering Date: Mon, 8 Jul 2024 12:37:58 +0000 (+0200) Subject: mount-tool: use the usual coloring in --help text X-Git-Tag: v257-rc1~930^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d41dfe4474162414e1a9d7e15bc6496a2403b13;p=thirdparty%2Fsystemd.git mount-tool: use the usual coloring in --help text --- diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c index f127168c602..1c11cdd5f86 100644 --- a/src/mount/mount-tool.c +++ b/src/mount/mount-tool.c @@ -120,7 +120,7 @@ static int help(void) { "systemd-mount [OPTIONS...] --tmpfs [NAME] WHERE\n" "systemd-mount [OPTIONS...] --list\n" "%s [OPTIONS...] %sWHAT|WHERE...\n\n" - "Establish a mount or auto-mount point transiently.\n\n" + "%sEstablish a mount or auto-mount point transiently.%s\n\n" " -h --help Show this help\n" " --version Show package version\n" " --no-block Do not wait until operation finished\n" @@ -152,6 +152,8 @@ static int help(void) { "\nSee the %s for details.\n", program_invocation_short_name, streq(program_invocation_short_name, "systemd-umount") ? "" : "--umount ", + ansi_highlight(), + ansi_normal(), link); return 0;