[sftp.1 sftp-int.c]
     "bye"; hk63a@netscape.net
This commit is contained in:
Ben Lindstrom 2001-08-15 23:22:56 +00:00
parent 1fa90101f0
commit 59e1249d67
3 changed files with 9 additions and 3 deletions

View File

@ -23,6 +23,9 @@
- stevesk@cvs.openbsd.org 2001/08/13 23:38:54 - stevesk@cvs.openbsd.org 2001/08/13 23:38:54
[scp.c] [scp.c]
don't need main prototype (also sync with rcp); ok markus@ don't need main prototype (also sync with rcp); ok markus@
- markus@cvs.openbsd.org 2001/08/14 09:23:02
[sftp.1 sftp-int.c]
"bye"; hk63a@netscape.net
20010814 20010814
- (stevesk) sshpty.c, cray.[ch]: whitespace, formatting and cleanup - (stevesk) sshpty.c, cray.[ch]: whitespace, formatting and cleanup
@ -6312,4 +6315,4 @@
- Wrote replacements for strlcpy and mkdtemp - Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1 - Released 1.0pre1
$Id: ChangeLog,v 1.1481 2001/08/15 23:21:01 mouring Exp $ $Id: ChangeLog,v 1.1482 2001/08/15 23:22:56 mouring Exp $

View File

@ -26,7 +26,7 @@
/* XXX: recursive operations */ /* XXX: recursive operations */
#include "includes.h" #include "includes.h"
RCSID("$OpenBSD: sftp-int.c,v 1.39 2001/07/31 12:42:50 jakob Exp $"); RCSID("$OpenBSD: sftp-int.c,v 1.40 2001/08/14 09:23:02 markus Exp $");
#include "buffer.h" #include "buffer.h"
#include "xmalloc.h" #include "xmalloc.h"
@ -78,6 +78,7 @@ struct CMD {
}; };
const struct CMD cmds[] = { const struct CMD cmds[] = {
{ "bye", I_QUIT },
{ "cd", I_CHDIR }, { "cd", I_CHDIR },
{ "chdir", I_CHDIR }, { "chdir", I_CHDIR },
{ "chgrp", I_CHGRP }, { "chgrp", I_CHGRP },

4
sftp.1
View File

@ -1,4 +1,4 @@
.\" $OpenBSD: sftp.1,v 1.21 2001/06/23 17:48:18 itojun Exp $ .\" $OpenBSD: sftp.1,v 1.22 2001/08/14 09:23:02 markus Exp $
.\" .\"
.\" Copyright (c) 2001 Damien Miller. All rights reserved. .\" Copyright (c) 2001 Damien Miller. All rights reserved.
.\" .\"
@ -91,6 +91,8 @@ understands a set of commands similar to those of
Commands are case insensitive and pathnames may be enclosed in quotes if they Commands are case insensitive and pathnames may be enclosed in quotes if they
contain spaces. contain spaces.
.Bl -tag -width Ds .Bl -tag -width Ds
.It Ic bye
Quit sftp.
.It Ic cd Ar path .It Ic cd Ar path
Change remote directory to Change remote directory to
.Ar path . .Ar path .