summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2003-07-10 20:05:56 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2003-07-10 20:05:56 +0000
commit8eb3df6c147f15fcad30ab056f8bb8733a018b1f (patch)
tree052b2e852b6f337682aac763e607e158cf64fa27
parent9078844834aaaed47fb7d763b42077803859f196 (diff)
sync usage with manpage, add missing -R
-rw-r--r--usr.bin/ssh/sftp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/ssh/sftp.c b/usr.bin/ssh/sftp.c
index 9446c7352c4..b524c392fd7 100644
--- a/usr.bin/ssh/sftp.c
+++ b/usr.bin/ssh/sftp.c
@@ -24,7 +24,7 @@
#include "includes.h"
-RCSID("$OpenBSD: sftp.c,v 1.36 2003/06/04 12:41:22 djm Exp $");
+RCSID("$OpenBSD: sftp.c,v 1.37 2003/07/10 20:05:55 markus Exp $");
#include "buffer.h"
#include "xmalloc.h"
@@ -106,8 +106,9 @@ usage(void)
extern char *__progname;
fprintf(stderr,
- "usage: %s [-vC1] [-b batchfile] [-o option] [-s subsystem|path] [-B buffer_size]\n"
- " [-F config] [-P direct server path] [-S program]\n"
+ "usage: %s [-vC1] [-b batchfile] [-o ssh_option] [-s subsystem | sftp_server]\n"
+ " [-B buffer_size] [-F ssh_config] [-P sftp_server path]\n"
+ " [-R num_requests] [-S program]\n"
" [user@]host[:file [file]]\n", __progname);
exit(1);
}