summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-29 18:07:19 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-29 18:07:19 (EDT)
commit9e5bc0c979261e4eb8b9dfa67d8c53bcc978b8d9 (patch)
tree649421ade89c4fbdd46b845ae94bfa10ad8724a3 /src/main.c
parentb58ce2a5c5811889216cc4ce6355e4243d7c9aac (diff)
downloadmarquee-9e5bc0c979261e4eb8b9dfa67d8c53bcc978b8d9.zip
marquee-9e5bc0c979261e4eb8b9dfa67d8c53bcc978b8d9.tar.gz
marquee-9e5bc0c979261e4eb8b9dfa67d8c53bcc978b8d9.tar.bz2
main(): Print both PACKAGE_VERSION and PACKAGE_VERSION_GIT
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
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 "
"<http://gnu.org/licenses/gpl.html>.\n"