Add ovniemu version

This commit is contained in:
Rodrigo Arias 2023-03-21 17:02:21 +01:00 committed by Rodrigo Arias Mallo
parent 740d8b0d4b
commit e471df9c1a

View File

@ -11,10 +11,13 @@
#include <string.h> #include <string.h>
static char progname[] = "ovniemu"; static char progname[] = "ovniemu";
static char version[] = "1.0.0";
static void static void
usage(void) usage(void)
{ {
rerr("%s -- version %s\n", progname, version);
rerr("\n");
rerr("Usage: %s [-c offsetfile] [-lh] tracedir\n", progname); rerr("Usage: %s [-c offsetfile] [-lh] tracedir\n", progname);
rerr("\n"); rerr("\n");
rerr("Options:\n"); rerr("Options:\n");