From 68874d2bfe5b0b0c8ffce03302ae6b10ef9cce75 Mon Sep 17 00:00:00 2001 From: mouring Date: Wed, 15 Aug 2001 23:22:56 +0000 Subject: [PATCH] - markus@cvs.openbsd.org 2001/08/14 09:23:02 [sftp.1 sftp-int.c] "bye"; hk63a@netscape.net --- ChangeLog | 3 +++ sftp-int.c | 3 ++- sftp.1 | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0edd6e14..b416f96d 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 diff --git a/sftp-int.c b/sftp-int.c index 0851e63a..841e562e 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 dae551bd..6a365a41 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 . -- 2.45.2