upstream commit

Make manual reflect reality: sftp-server's -d option
 accepts a "%d" option, not a "%h" one.

bz#2316; reported by Kirk Wolf
This commit is contained in:
djm@openbsd.org 2014-12-11 04:16:14 +00:00 committed by Damien Miller
parent 4cf87f4b81
commit da0277e371

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: sftp-server.8,v 1.26 2014/07/28 15:40:08 schwarze Exp $ .\" $OpenBSD: sftp-server.8,v 1.27 2014/12/11 04:16:14 djm Exp $
.\" .\"
.\" Copyright (c) 2000 Markus Friedl. All rights reserved. .\" Copyright (c) 2000 Markus Friedl. All rights reserved.
.\" .\"
@ -22,7 +22,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: July 28 2014 $ .Dd $Mdocdate: December 11 2014 $
.Dt SFTP-SERVER 8 .Dt SFTP-SERVER 8
.Os .Os
.Sh NAME .Sh NAME
@ -67,7 +67,7 @@ Valid options are:
specifies an alternate starting directory for users. specifies an alternate starting directory for users.
The pathname may contain the following tokens that are expanded at runtime: The pathname may contain the following tokens that are expanded at runtime:
%% is replaced by a literal '%', %% is replaced by a literal '%',
%h is replaced by the home directory of the user being authenticated, %d is replaced by the home directory of the user being authenticated,
and %u is replaced by the username of that user. and %u is replaced by the username of that user.
The default is to use the user's home directory. The default is to use the user's home directory.
This option is useful in conjunction with the This option is useful in conjunction with the