]> git.tue.mpg.de Git - dss.git/commitdiff
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 1d7f7fbdaf0115af5cbf9e43901cd0122c74fbb7..bcaeff2dbba49cf1c1733530818f82871f16bb7b 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);