]> git.tuebingen.mpg.de Git - dss.git/blobdiff - dss.c
Merge topic branch t/com_help into pu
[dss.git] / dss.c
diff --git a/dss.c b/dss.c
index 7f45ac23869554c2880267f2635c13761cc28d1b..7d906b2fa19552eb03087e9a4cfe64a39eceefa6 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -1820,6 +1820,7 @@ static int setup_signal_handling(void)
        return install_sighandler(SIGCHLD);
 }
 
+const char *dss_version(void);
 static void handle_version_and_help(void)
 {
        char *txt;
@@ -1829,7 +1830,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 = make_message("%s\n", VERSION_STRING);
+               txt = make_message("%s\n", dss_version());
        else
                return;
        printf("%s", txt);