summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-08-16 01:22:56 +0200
committerBen Lindstrom <mouring@eviladmin.org>2001-08-16 01:22:56 +0200
commit59e1249d67cea9e4fe571869750625b93c99a62b (patch)
treef454560149fd5497f37b0bcd65858677aaef0e58
parent - stevesk@cvs.openbsd.org 2001/08/13 23:38:54 (diff)
downloadopenssh-59e1249d67cea9e4fe571869750625b93c99a62b.tar.xz
openssh-59e1249d67cea9e4fe571869750625b93c99a62b.zip
- markus@cvs.openbsd.org 2001/08/14 09:23:02
[sftp.1 sftp-int.c] "bye"; hk63a@netscape.net
-rw-r--r--ChangeLog5
-rw-r--r--sftp-int.c3
-rw-r--r--sftp.14
3 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 28166777d..d2e59410f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -23,6 +23,9 @@
- stevesk@cvs.openbsd.org 2001/08/13 23:38:54
[scp.c]
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
- (stevesk) sshpty.c, cray.[ch]: whitespace, formatting and cleanup
@@ -6312,4 +6315,4 @@
- Wrote replacements for strlcpy and mkdtemp
- 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 $
diff --git a/sftp-int.c b/sftp-int.c
index 0851e63a2..841e562e1 100644
--- a/sftp-int.c
+++ b/sftp-int.c
@@ -26,7 +26,7 @@
/* XXX: recursive operations */
#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 "xmalloc.h"
@@ -78,6 +78,7 @@ struct CMD {
};
const struct CMD cmds[] = {
+ { "bye", I_QUIT },
{ "cd", I_CHDIR },
{ "chdir", I_CHDIR },
{ "chgrp", I_CHGRP },
diff --git a/sftp.1 b/sftp.1
index dae551bdf..6a365a41d 100644
--- a/sftp.1
+++ b/sftp.1
@@ -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.
.\"
@@ -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
contain spaces.
.Bl -tag -width Ds
+.It Ic bye
+Quit sftp.
.It Ic cd Ar path
Change remote directory to
.Ar path .