summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/options.c b/src/options.c
index ed22a19..cb93898 100644
--- a/src/options.c
+++ b/src/options.c
@@ -324,13 +324,11 @@ void options_print_usage()
void options_print_version()
{
- printf("%s\n", VERSION_STRING_0);
+ printf("%s\n", VERSION_STRING);
#if defined(__clang__)
- printf("%s, using CLANG %s\n", VERSION_STRING_1, __clang_version__);
+ printf("built using CLANG %s\n", __clang_version__);
#elif defined(__GNUC__)
- printf("%s, using GCC %d.%d.%d\n", VERSION_STRING_1, __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__);
-#else
- printf("%s\n", VERSION_STRING_1);
+ printf("built using GCC %d.%d.%d\n", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__);
#endif
}