aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rc/rc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rc/rc.c b/src/rc/rc.c
index d8438c53..9dc8b0cf 100644
--- a/src/rc/rc.c
+++ b/src/rc/rc.c
@@ -690,14 +690,14 @@ int main (int argc, char **argv)
eerrorx ("arguments required");
if (argc > 1 && (strcmp (argv[1], "--version") == 0)) {
- printf ("%s (OpenRC"
-#ifdef BRANDING
- " - " BRANDING
-#endif
- ")", applet);
+ printf ("%s (OpenRC", applet);
if (sys)
printf (" [%s]", sys);
- printf (" version " VERSION "\n");
+ printf (") " VERSION
+#ifdef BRANDING
+ " (" BRANDING ")"
+#endif
+ "\n");
exit (EXIT_SUCCESS);
}