summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 277dbd3..c03ff66 100644
--- a/src/main.c
+++ b/src/main.c
@@ -29,6 +29,8 @@
#include "application.h"
+extern const char *PACKAGE_VERSION_GIT;
+
static gchar *opt_profile;
static gboolean opt_private;
static gboolean opt_version;
@@ -68,7 +70,7 @@ main(int argc, char *argv[])
}
if (G_UNLIKELY(opt_version)) {
- g_print("%s %s\n", PACKAGE_NAME, PACKAGE_VERSION);
+ g_print("%s %s\n", PACKAGE_NAME, PACKAGE_VERSION_GIT);
g_print("Copyright (C) %s %s\n", "2017", "Patrick McDermott");
g_print("License GPLv3+: GNU GPL version 3 or later "
"<http://gnu.org/licenses/gpl.html>.\n"