From 3d41dfe4474162414e1a9d7e15bc6496a2403b13 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 8 Jul 2024 14:37:58 +0200 Subject: [PATCH] mount-tool: use the usual coloring in --help text --- src/mount/mount-tool.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c index f127168c60..1c11cdd5f8 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; -- 2.25.1