Add missing newline to --version output.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 19 Nov 2017 01:59:15 +0000 (02:59 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 19 Nov 2017 01:59:15 +0000 (02:59 +0100)
dss.c

diff --git a/dss.c b/dss.c
index 1d7f7fb..bcaeff2 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -1778,7 +1778,7 @@ static void handle_version_and_help(void)
        else if (OPT_GIVEN(DSS, HELP))
                txt = lls_short_help(CMD_PTR(DSS));
        else if (OPT_GIVEN(DSS, VERSION))
-               txt = dss_strdup(VERSION_STRING);
+               txt = make_message("%s\n", VERSION_STRING);
        else
                return;
        printf("%s", txt);