summaryrefslogtreecommitdiff
path: root/util/isol.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/isol.c')
-rw-r--r--util/isol.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/util/isol.c b/util/isol.c
index 460411e..c092361 100644
--- a/util/isol.c
+++ b/util/isol.c
@@ -165,7 +165,7 @@ void dbglog( char *pattn, ... ); /*local prototype*/
/*
* Global variables
*/
-static char * progver = "2.94";
+static char * progver = "2.95";
static char * progname = "isol";
static char fdebug = 0;
static char fpicmg = 0;
@@ -1114,7 +1114,7 @@ static void show_usage(void)
printf(" -v debug log filename (default=isoldbg.log)\n");
printf(" -x show eXtra debug messages in debug log\n");
printf(" -z show even more debug messages\n");
- print_lan_opt_usage();
+ print_lan_opt_usage(1);
}
#ifdef METACOMMAND
@@ -1138,7 +1138,7 @@ main(int argc, char **argv)
parse_lan_options('V',"2",0); /*default to user priv*/
- while ( (c = getopt( argc, argv,"ac:dei:k:ln:o:rs:t:u:wv:xzEF:J:N:P:R:T:U:V:YZ:?")) != EOF )
+ while ( (c = getopt( argc, argv,"ac:dei:k:ln:o:p:rs:t:u:wv:xzEF:J:N:P:R:T:U:V:YZ:?")) != EOF )
switch(c) {
case 'a': factivate = 1; break; /*activate*/
case 'd': fdeactivate = 1; break; /*deactivate*/
@@ -1183,6 +1183,7 @@ main(int argc, char **argv)
case 'z': fdebug = 3; break; /*full debug messages */
case 'V': /* priv level */
fprivset = 1;
+ case 'p': /* port */
case 'N': /* nodename */
case 'U': /* remote username */
case 'P': /* remote password */