various: boldify version output

Follow-up for 4453ebe4db.
With the feature list all dandified, the most important part of the
output, i.e. the project name and version, are less visible.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2023-02-09 15:32:33 +00:00
committed by Luca Boccassi
parent 77db9ef2ab
commit 0c90efc9db
+2 -1
View File
@@ -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;
}