Security improvement: check that string length field in
[u/mdw/putty] / scp.c
diff --git a/scp.c b/scp.c
index cb0b853..0bc0f58 100644 (file)
--- a/scp.c
+++ b/scp.c
@@ -807,6 +807,7 @@ static void usage(void)
     printf("%s\n", ver);
     printf("Usage: scp [options] [user@]host:source target\n");
     printf("       scp [options] source [source...] [user@]host:target\n");
+    printf("       scp [options] -ls user@host:filespec\n");
     printf("Options:\n");
     printf("  -p        preserve file attributes\n");
     printf("  -q        quiet, don't show statistics\n");