From b18f5bf2db0fba2e7e539f68645836036d940d26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 29 Apr 2015 15:44:44 +0200 Subject: Imported Upstream version 2.9.6 --- util/isol.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'util/isol.c') diff --git a/util/isol.c b/util/isol.c index 381668e..50b0caf 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.93"; +static char * progver = "2.96"; 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 */ @@ -1307,7 +1308,6 @@ main(int argc, char **argv) /* * Spawn a console raw terminal thread now, which will wait for the * "Activating cmd (0x02)" on success - * Using globals: gnode,guser,gpswd, gauth_type, gpriv_level */ if (fdeactivate) { /* Request admin privilege by default, since deactivate requires it. */ -- cgit v1.2.3