From 9e5bc0c979261e4eb8b9dfa67d8c53bcc978b8d9 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 29 Oct 2017 18:07:19 -0400 Subject: main(): Print both PACKAGE_VERSION and PACKAGE_VERSION_GIT --- (limited to 'src') diff --git a/src/main.c b/src/main.c index d1e5fc5..51f3d84 100644 --- a/src/main.c +++ b/src/main.c @@ -70,7 +70,8 @@ main(int argc, char *argv[]) } if (G_UNLIKELY(opt_version)) { - g_print("%s %s\n", PACKAGE_NAME, PACKAGE_VERSION_GIT); + g_print("%s %s%s\n", PACKAGE_NAME, PACKAGE_VERSION, + PACKAGE_VERSION_GIT); g_print("Copyright (C) %s %s\n", "2017", "Patrick McDermott"); g_print("License GPLv3+: GNU GPL version 3 or later " ".\n" -- cgit v0.9.1