aboutsummaryrefslogtreecommitdiff
path: root/src/list_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/list_events.c')
-rw-r--r--src/list_events.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/list_events.c b/src/list_events.c
index 84465dc5..c9a0ae40 100644
--- a/src/list_events.c
+++ b/src/list_events.c
@@ -38,9 +38,11 @@
#include <unistd.h>
#include <getopt.h>
-#include "utils.h"
-#include "image.h"
-#include "datatemplate.h"
+#include <utils.h>
+#include <image.h>
+#include <datatemplate.h>
+
+#include "version.h"
static void show_help(const char *s)
@@ -92,8 +94,10 @@ int main(int argc, char *argv[])
return 0;
case 2 :
- printf("CrystFEL: " CRYSTFEL_VERSIONSTRING "\n");
- printf(CRYSTFEL_BOILERPLATE"\n");
+ printf("CrystFEL: %s\n",
+ crystfel_version_string());
+ printf("%s\n",
+ crystfel_licence_string());
return 0;
case 'o' :