summaryrefslogtreecommitdiff
path: root/src/irmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/irmd')
-rw-r--r--src/irmd/config.h.in1
-rw-r--r--src/irmd/main.c5
2 files changed, 4 insertions, 2 deletions
diff --git a/src/irmd/config.h.in b/src/irmd/config.h.in
index 8ed66004..2a1a6d6a 100644
--- a/src/irmd/config.h.in
+++ b/src/irmd/config.h.in
@@ -30,6 +30,7 @@
#define OUROBOROS_VERSION_MAJOR @PACKAGE_VERSION_MAJOR@
#define OUROBOROS_VERSION_MINOR @PACKAGE_VERSION_MINOR@
+#define OUROBOROS_VERSION_PATCH @PACKAGE_VERSION_PATCH@
#define PTHREAD_COND_CLOCK @PTHREAD_COND_CLOCK@
diff --git a/src/irmd/main.c b/src/irmd/main.c
index 96c30b4a..f109d5e2 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -2298,9 +2298,10 @@ int main(int argc,
argc--;
argv++;
} else if (strcmp(*argv, "--version") == 0) {
- printf("Ouroboros version %d.%d\n",
+ printf("Ouroboros version %d.%d.%d\n",
OUROBOROS_VERSION_MAJOR,
- OUROBOROS_VERSION_MINOR);
+ OUROBOROS_VERSION_MINOR,
+ OUROBOROS_VERSION_PATCH);
exit(EXIT_SUCCESS);
} else {
usage();