diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-10-15 15:50:42 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-10-15 15:50:42 +1000 |
commit | 1f20394e92afa417c1201506f9ae8683170ac496 (patch) | |
tree | dc4552b853891fb2fba19f404da087062622bf97 /sftp.c | |
parent | 439ce0daf95fef595ba2592d16b17401a8bee135 (diff) | |
download | openssh-git-1f20394e92afa417c1201506f9ae8683170ac496.tar.gz |
- jmc@cvs.openbsd.org 2003/10/08 08:27:36
[scp.1 scp.c sftp-server.8 sftp.1 sftp.c ssh.1 sshd.8]
scp and sftp: add options list and sort options. options list requested
by deraadt@
sshd: use same format as ssh
ssh: remove wrong option from list
sftp-server: Subsystem is documented in ssh_config(5), not sshd(8)
ok deraadt@ markus@
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -24,7 +24,7 @@ #include "includes.h" -RCSID("$OpenBSD: sftp.c,v 1.37 2003/07/10 20:05:55 markus Exp $"); +RCSID("$OpenBSD: sftp.c,v 1.38 2003/10/08 08:27:36 jmc Exp $"); #include "buffer.h" #include "xmalloc.h" @@ -112,10 +112,12 @@ usage(void) extern char *__progname; fprintf(stderr, - "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); + "usage: %s [-1Cv] [-B buffer_size] [-b batchfile] [-F ssh_config]\n" + " [-o ssh_option] [-P sftp_server_path] [-R num_requests]\n" + " [-S program] [-s subsystem | sftp_server] host\n" + " %s [[user@]host[:file [file]]]\n" + " %s [[user@]host[:dir[/]]]\n" + " %s -b batchfile [user@]host\n", __progname, __progname, __progname, __progname); exit(1); } |