commit 7b000772d28f8c2f1cca807b409c17447fc9a548
parent 11f86993a9e7d93e5da29d6d7562955e13d940d5
Author: sin <sin@2f30.org>
Date: Wed, 2 Jul 2014 15:41:13 +0100
Release 0.1
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/crond.c b/crond.c
@@ -14,6 +14,8 @@
#include "arg.h"
+#define VERSION "0.1"
+
char *argv0;
static char *config = "/etc/crontab";
static int dflag;
@@ -149,6 +151,7 @@ waitjob(void)
static void
usage(void)
{
+ fprintf(stderr, VERSION " (c) 2014\n");
fprintf(stderr, "usage: %s [-d] [-f file] [options]\n", argv0);
fprintf(stderr, " -d daemonize\n");
fprintf(stderr, " -f config file\n");