diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sftp-int.c | 3 | ||||
-rw-r--r-- | sftp.1 | 4 |
3 files changed, 9 insertions, 3 deletions
@@ -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 }, @@ -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 . |