version 1.0 cmore-1.0
authorLaurent MAZET <laurent.mazet@thalesgroup.com>
Mon, 20 May 2024 16:12:35 +0000 (18:12 +0200)
committerLaurent MAZET <laurent.mazet@thalesgroup.com>
Mon, 20 May 2024 16:12:35 +0000 (18:12 +0200)
cmore.c

diff --git a/cmore.c b/cmore.c
index a40a94f799d58668172b7e36ff74452e9447a1e0..a8ac2bfce657ebf24c17b834353640c0d8c8a13b 100644 (file)
--- a/cmore.c
+++ b/cmore.c
@@ -14,7 +14,7 @@
 
 /* static variables */
 char *progname = NULL;
-char *version = "0.1";
+char *version = "1.0";
 
 char *input = NULL;
 char *command = NULL;
@@ -287,6 +287,7 @@ int usage (int ret)
     fprintf (fd, " -h: help message\n");
     fprintf (fd, " -s: stoptime\n");
     fprintf (fd, " -v: verbose level (%d)\n", verbose);
+    fprintf (fd, "%s version %s\n", progname, version);
 
     return ret;
 }