From: Zbigniew Jędrzejewski-Szmek Date: Thu, 9 Feb 2023 13:50:47 +0000 (+0100) Subject: various: boldify version output X-Git-Tag: v253-rc3~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c90efc9dbe73d8ac149965ebb4ca7130be7acb1;p=thirdparty%2Fsystemd.git various: boldify version output Follow-up for 4453ebe4db0511d25bed1040930ea6430c1bed91. With the feature list all dandified, the most important part of the output, i.e. the project name and version, are less visible. --- diff --git a/src/basic/build.c b/src/basic/build.c index aaf7d2ceeb8..c587adad7b0 100644 --- a/src/basic/build.c +++ b/src/basic/build.c @@ -276,7 +276,8 @@ int version(void) { if (colors_enabled()) b = systemd_features_with_color(); - printf("systemd " STRINGIFY(PROJECT_VERSION) " (" GIT_VERSION ")\n%s\n", + printf("%ssystemd " STRINGIFY(PROJECT_VERSION) "%s (" GIT_VERSION ")\n%s\n", + ansi_highlight(), ansi_normal(), b ?: systemd_features); return 0; }