summaryrefslogtreecommitdiff
path: root/src/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/global.h')
-rw-r--r--src/global.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/global.h b/src/global.h
index 292c9cb0..454fc64e 100644
--- a/src/global.h
+++ b/src/global.h
@@ -123,6 +123,8 @@ public:
out <<
"Ledger " << Ledger_VERSION_MAJOR << '.' << Ledger_VERSION_MINOR << '.'
<< Ledger_VERSION_PATCH;
+ if (Ledger_VERSION_PRERELEASE != 0)
+ out << Ledger_VERSION_PRERELEASE;
if (Ledger_VERSION_DATE != 0)
out << '-' << Ledger_VERSION_DATE;
out << _(", the command-line accounting tool");