Match the descriptions of the \H and \h prompt string sequences to reality.

They were swapped.

X-Confirmed by:	jilles
MFC after:	1 week
This commit is contained in:
Don Lewis 2016-05-25 02:10:30 +00:00
parent 600fd98ff3
commit ae100660d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300642

View File

@ -32,7 +32,7 @@
.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95 .\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd January 30, 2016 .Dd May 24, 2016
.Dt SH 1 .Dt SH 1
.Os .Os
.Sh NAME .Sh NAME
@ -1403,9 +1403,9 @@ may include any of the following formatting sequences,
which are replaced by the given information: which are replaced by the given information:
.Bl -tag -width indent .Bl -tag -width indent
.It Li \eH .It Li \eH
The local hostname.
.It Li \eh
The fully-qualified hostname. The fully-qualified hostname.
.It Li \eh
The local hostname.
.It Li \eW .It Li \eW
The final component of the current working directory. The final component of the current working directory.
.It Li \ew .It Li \ew