]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - psftp.c
Fix two double-frees in ssh2_load_userkey().
[PuTTY.git] / psftp.c
diff --git a/psftp.c b/psftp.c
index 8ed2343aa14df3b8c9086fea2f74cca33434abc1..3fbd0c43c8ba9f596ac4f7596bd97e9c4e3b28cc 100644 (file)
--- a/psftp.c
+++ b/psftp.c
@@ -2668,9 +2668,11 @@ static void usage(void)
     printf("  -1 -2     force use of particular SSH protocol version\n");
     printf("  -4 -6     force use of IPv4 or IPv6\n");
     printf("  -C        enable compression\n");
-    printf("  -i key    private key file for authentication\n");
+    printf("  -i key    private key file for user authentication\n");
     printf("  -noagent  disable use of Pageant\n");
     printf("  -agent    enable use of Pageant\n");
+    printf("  -hostkey aa:bb:cc:...\n");
+    printf("            manually specify a host key (may be repeated)\n");
     printf("  -batch    disable all interactive prompts\n");
     cleanup_exit(1);
 }
@@ -2885,6 +2887,9 @@ void cmdline_error(char *p, ...)
     exit(1);
 }
 
+const int share_can_be_downstream = TRUE;
+const int share_can_be_upstream = FALSE;
+
 /*
  * Main program. Parse arguments etc.
  */