summaryrefslogtreecommitdiff
path: root/util/igetevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/igetevent.c')
-rw-r--r--util/igetevent.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/util/igetevent.c b/util/igetevent.c
index 6e2fe27..96f5442 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.93";
+static char * progver = "2.96";
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;
}