mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 00:04:30 +02:00
- mpech@cvs.openbsd.org 2002/02/06 14:27:23
[sftp.c] sync usage() with manual.
This commit is contained in:
parent
81b6e787a0
commit
025e01c7f0
@ -16,6 +16,9 @@
|
|||||||
- markus@cvs.openbsd.org 2002/02/06 14:22:42
|
- markus@cvs.openbsd.org 2002/02/06 14:22:42
|
||||||
[sftp.1]
|
[sftp.1]
|
||||||
sort options; ok mpech@, stevesk@
|
sort options; ok mpech@, stevesk@
|
||||||
|
- mpech@cvs.openbsd.org 2002/02/06 14:27:23
|
||||||
|
[sftp.c]
|
||||||
|
sync usage() with manual.
|
||||||
|
|
||||||
20020205
|
20020205
|
||||||
- (djm) Cleanup after sync:
|
- (djm) Cleanup after sync:
|
||||||
@ -7522,4 +7525,4 @@
|
|||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.1832 2002/02/08 11:06:03 djm Exp $
|
$Id: ChangeLog,v 1.1833 2002/02/08 11:06:29 djm Exp $
|
||||||
|
10
sftp.c
10
sftp.c
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
RCSID("$OpenBSD: sftp.c,v 1.24 2002/02/05 00:00:46 djm Exp $");
|
RCSID("$OpenBSD: sftp.c,v 1.25 2002/02/06 14:27:23 mpech Exp $");
|
||||||
|
|
||||||
/* XXX: short-form remote directory listings (like 'ls -C') */
|
/* XXX: short-form remote directory listings (like 'ls -C') */
|
||||||
|
|
||||||
@ -92,10 +92,12 @@ connect_to_server(char *path, char **args, int *in, int *out, pid_t *sshpid)
|
|||||||
static void
|
static void
|
||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
|
extern char *__progname;
|
||||||
|
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"usage: sftp [-1Cv] [-b batchfile] [-F config] [-o option] [-s subsystem|path]\n"
|
"usage: %s [-vC1] [-b batchfile] [-o option] [-s subsystem|path] [-B buffer_size]\n"
|
||||||
" [-P direct server path] [-S program] \n"
|
" [-F config] [-P direct server path] [-S program]\n"
|
||||||
" [-B buffer_size] [user@]host[:file [file]]\n");
|
" [user@]host[:file [file]]\n", __progname);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user