diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-11-12 17:25:25 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-11-12 17:25:25 +0100 |
commit | 14304e0827cd7de7fc55b1ba587ccdd380525b94 (patch) | |
tree | f70c126b91e68b66d7005cfea53b88a82aa0c7fa /util/igetevent.c | |
parent | d279e229635f19852dc829552aa7c7d72d7a4dd2 (diff) |
New upstream release
Diffstat (limited to 'util/igetevent.c')
-rw-r--r-- | util/igetevent.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/util/igetevent.c b/util/igetevent.c index e2eb587..fb3b4ab 100644 --- a/util/igetevent.c +++ b/util/igetevent.c @@ -168,7 +168,7 @@ extern void free_sdr_cache(uchar *pret); /*see isensor.c*/ * Global variables */ static char * progname = "igetevent"; -static char * progver = "2.94"; +static char * progver = "2.95"; static char fdebug = 0; static char fipmilan = 0; static char frunonce = 0; @@ -1047,7 +1047,7 @@ main(int argc, char **argv) fdout = stdout; msgout("%s ver %s\n", progname,progver); - while ( (c = getopt(argc,argv,"abce:lmn:or:st:uvT:V:J:YEF:P:N:R:U:Z:x?")) != EOF ) + while ( (c = getopt(argc,argv,"abce:lmn:op:r:st:uvT:V:J:YEF:P:N:R:U:Z:x?")) != EOF ) switch(c) { case 'a': fAsync = 1; /* imb async message method */ /* chenge the output log filename */ @@ -1086,6 +1086,7 @@ main(int argc, char **argv) case 'u': futc = 1; break; case 'x': fdebug = 1; break; /* debug messages */ case 'v': fdebug = 3; break; /* verbose debug with lan */ + case 'p': case 'N': /* nodename */ case 'U': /* remote username */ case 'P': /* remote password */ @@ -1112,7 +1113,7 @@ main(int argc, char **argv) printf(" -t N set timeout to N seconds\n"); printf(" -u use raw UTC time\n"); printf(" -x show eXtra debug messages\n"); - print_lan_opt_usage(); + print_lan_opt_usage(1); ret = ERR_USAGE; goto do_exit; } |