diff options
Diffstat (limited to 'daemon/rrdbotd.c')
-rw-r--r-- | daemon/rrdbotd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/daemon/rrdbotd.c b/daemon/rrdbotd.c index 0b998b3..c28825d 100644 --- a/daemon/rrdbotd.c +++ b/daemon/rrdbotd.c @@ -166,7 +166,7 @@ usage() { fprintf(stderr, "usage: rrdbotd [-M] [-c confdir] [-w workdir] [-m mibdir] \n"); fprintf(stderr, " [-d level] [-p pidfile] [-r retries] [-t timeout]\n"); - fprintf(stderr, " rrdbotd -v\n"); + fprintf(stderr, " rrdbotd -V\n"); exit(2); } @@ -222,7 +222,7 @@ main(int argc, char* argv[]) g_state.timeout = DEFAULT_TIMEOUT; /* Parse the arguments nicely */ - while((ch = getopt(argc, argv, "c:d:Mp:r:t:w:v")) != -1) + while((ch = getopt(argc, argv, "c:d:Mp:r:t:w:V")) != -1) { switch(ch) { @@ -276,7 +276,7 @@ main(int argc, char* argv[]) break; /* Print version number */ - case 'v': + case 'V': version(); break; |