diff options
Diffstat (limited to 'squid-cronolog.c')
-rw-r--r-- | squid-cronolog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/squid-cronolog.c b/squid-cronolog.c index c24ffc9..781504b 100644 --- a/squid-cronolog.c +++ b/squid-cronolog.c @@ -9,6 +9,8 @@ #include <errno.h> #include <string.h> +#define VERSION "1.0" + char *pidfile; char *get_cronolog(void) { @@ -67,6 +69,7 @@ int main(int argc, char *argv[]) { if (argc != 4) { fprintf(stderr, "Usage: %s /path/to/pidfile /path/to/fifo" " /path/to/logs/%%Y%%m%%d.log\n", argv[0]); + fprintf(stderr, "squid-cronolog version: %s\n", VERSION); exit(1); } |