summaryrefslogtreecommitdiff
path: root/src/global.h
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2015-01-11 13:50:54 +0100
committerAlexis Hildebrandt <afh@surryhill.net>2015-01-20 10:12:25 +0100
commitaf7e7cdd8f35b9c1b2a428ff8c6686e5b36a213a (patch)
tree0e7e93a3f932eb4463b777c8a7dd0425dc29a3a9 /src/global.h
parent80022bf04affc360058aab1422d3ad59577d896e (diff)
downloadfork-ledger-af7e7cdd8f35b9c1b2a428ff8c6686e5b36a213a.tar.gz
fork-ledger-af7e7cdd8f35b9c1b2a428ff8c6686e5b36a213a.tar.bz2
fork-ledger-af7e7cdd8f35b9c1b2a428ff8c6686e5b36a213a.zip
Add pre-release info to --version output
Bump version to 3.1.1-alpha.1
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");