summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sftp-server.86
-rw-r--r--sftp-server.c5
3 files changed, 11 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 297c08bdd..0f62953c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -27,6 +27,11 @@
27 [ssh-keygen.c] 27 [ssh-keygen.c]
28 allow fingerprinting of keys hosted in PKCS#11 tokens: ssh-keygen -lD ... 28 allow fingerprinting of keys hosted in PKCS#11 tokens: ssh-keygen -lD ...
29 ok markus@ 29 ok markus@
30 - jmc@cvs.openbsd.org 2013/01/04 19:26:38
31 [sftp-server.8 sftp-server.c]
32 sftp-server.8: add argument name to -d
33 sftp-server.c: add -d to usage()
34 ok djm
30 35
3120121217 3620121217
32 - (dtucker) [Makefile.in] Add some scaffolding so that the new regress 37 - (dtucker) [Makefile.in] Add some scaffolding so that the new regress
diff --git a/sftp-server.8 b/sftp-server.8
index 4d15f1249..2fd3df20c 100644
--- a/sftp-server.8
+++ b/sftp-server.8
@@ -1,4 +1,4 @@
1.\" $OpenBSD: sftp-server.8,v 1.20 2013/01/03 12:54:49 djm Exp $ 1.\" $OpenBSD: sftp-server.8,v 1.21 2013/01/04 19:26:38 jmc Exp $
2.\" 2.\"
3.\" Copyright (c) 2000 Markus Friedl. All rights reserved. 3.\" Copyright (c) 2000 Markus Friedl. All rights reserved.
4.\" 4.\"
@@ -22,7 +22,7 @@
22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24.\" 24.\"
25.Dd $Mdocdate: January 3 2013 $ 25.Dd $Mdocdate: January 4 2013 $
26.Dt SFTP-SERVER 8 26.Dt SFTP-SERVER 8
27.Os 27.Os
28.Sh NAME 28.Sh NAME
@@ -57,7 +57,7 @@ for more information.
57.Pp 57.Pp
58Valid options are: 58Valid options are:
59.Bl -tag -width Ds 59.Bl -tag -width Ds
60.It Fl d 60.It Fl d Ar start_directory
61specifies an alternate starting directory for users. 61specifies an alternate starting directory for users.
62The pathname may contain the following tokens that are expanded at runtime: 62The pathname may contain the following tokens that are expanded at runtime:
63%% is replaced by a literal '%', 63%% is replaced by a literal '%',
diff --git a/sftp-server.c b/sftp-server.c
index c8858147a..cce074a56 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp-server.c,v 1.95 2013/01/03 12:54:49 djm Exp $ */ 1/* $OpenBSD: sftp-server.c,v 1.96 2013/01/04 19:26:38 jmc Exp $ */
2/* 2/*
3 * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
4 * 4 *
@@ -1390,7 +1390,8 @@ sftp_server_usage(void)
1390 extern char *__progname; 1390 extern char *__progname;
1391 1391
1392 fprintf(stderr, 1392 fprintf(stderr,
1393 "usage: %s [-ehR] [-f log_facility] [-l log_level] [-u umask]\n", 1393 "usage: %s [-ehR] [-d start_directory] [-f log_facility] "
1394 "[-l log_level]\n\t[-u umask]\n",
1394 __progname); 1395 __progname);
1395 exit(1); 1396 exit(1);
1396} 1397}