]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/winplink.c
first pass
[PuTTY.git] / windows / winplink.c
index 0f86b41c648dbf6b978fd97a10b119dbe0c362d2..4747077776b4b88f2d0695175424d1039efdc1dc 100644 (file)
@@ -187,6 +187,8 @@ static void usage(void)
     printf("  -P port   connect to specified port\n");
     printf("  -l user   connect with specified username\n");
     printf("  -batch    disable all interactive prompts\n");
+    printf("  -proxycmd command\n");
+    printf("            use 'command' as local proxy\n");
     printf("  -sercfg configuration-string (e.g. 19200,8,n,1,X)\n");
     printf("            Specify the serial configuration (serial only)\n");
     printf("The following options only apply to SSH connections:\n");
@@ -226,7 +228,7 @@ static void version(void)
     char *buildinfo_text = buildinfo("\n");
     printf("plink: %s\n%s\n", ver, buildinfo_text);
     sfree(buildinfo_text);
-    exit(1);
+    exit(0);
 }
 
 char *do_select(SOCKET skt, int startup)
@@ -633,6 +635,10 @@ int main(int argc, char **argv)
             return 1;
     }
 
+    if (restricted_acl) {
+       logevent(NULL, "Running with restricted process ACL");
+    }
+
     /*
      * Start up the connection.
      */