Minor fix in usage message
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 22 Feb 2004 14:48:48 +0000 (14:48 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 22 Feb 2004 14:48:48 +0000 (14:48 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@3888 cda61777-01e9-0310-a592-d414129be87e

doc/pscp.but
scp.c

index 97d1fb7..876a1ba 100644 (file)
@@ -1,4 +1,4 @@
-\versionid $Id: pscp.but,v 1.24 2004/02/13 11:20:42 jacob Exp $
+\versionid $Id: pscp.but,v 1.25 2004/02/22 14:48:48 jacob Exp $
 
 \#FIXME: Need examples
 
@@ -44,7 +44,7 @@ use PSCP:
 \c Release 0.54
 \c Usage: pscp [options] [user@]host:source target
 \c        pscp [options] source [source...] [user@]host:target
-\c        pscp [options] -ls user@host:filespec
+\c        pscp [options] -ls [user@]host:filespec
 \c Options:
 \c   -p        preserve file attributes
 \c   -q        quiet, don't show statistics
diff --git a/scp.c b/scp.c
index 28bc964..e2a9cf3 100644 (file)
--- a/scp.c
+++ b/scp.c
@@ -2049,7 +2049,7 @@ static void usage(void)
     printf("Usage: pscp [options] [user@]host:source target\n");
     printf
        ("       pscp [options] source [source...] [user@]host:target\n");
-    printf("       pscp [options] -ls user@host:filespec\n");
+    printf("       pscp [options] -ls [user@]host:filespec\n");
     printf("Options:\n");
     printf("  -p        preserve file attributes\n");
     printf("  -q        quiet, don't show statistics\n");