mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
manuals: Fix typos in -offset for .Bd and .Bl
The intended value is: -offset indent If there's any typo such that the value doesn't match the pre-defined strings, then the offset is the same width as the value. So by chance, "-offset -ident" ended up being a standard-width indent (since the default indent is 6 chars, and "-ident" also has 6 chars), whereas "-offset -indent" had a longer indent, and "-offset ident" had a shorter one. Signed-off-by: Graham Percival <gperciva@tarsnap.com> Reviewed by: mhorne, Alexander Ziaee <concussious.bugzilla@runbox.com> MFC after: 3 days Sponsored by: Tarsnap Backup Inc. Pull Request: https://github.com/freebsd/freebsd-src/pull/1436
This commit is contained in:
parent
4f2ef756a4
commit
c013ca2cf7
@ -1074,13 +1074,13 @@ command.
|
|||||||
Commands may be grouped by writing either
|
Commands may be grouped by writing either
|
||||||
.Pp
|
.Pp
|
||||||
.Sm off
|
.Sm off
|
||||||
.Bd -literal -offset -ident
|
.Bd -literal -offset indent
|
||||||
.Po Ar list Pc
|
.Po Ar list Pc
|
||||||
.Ed
|
.Ed
|
||||||
.Sm on
|
.Sm on
|
||||||
.Pp
|
.Pp
|
||||||
or
|
or
|
||||||
.Bd -literal -offset -ident
|
.Bd -literal -offset indent
|
||||||
.No { Ar list ; }
|
.No { Ar list ; }
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
To compile this driver into the kernel, place the following lines in your
|
To compile this driver into the kernel, place the following lines in your
|
||||||
kernel configuration file:
|
kernel configuration file:
|
||||||
.Bd -ragged -offset -indent
|
.Bd -ragged -offset indent
|
||||||
.Cd "options EFIRT"
|
.Cd "options EFIRT"
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
To compile this driver into the kernel, place the following lines in your
|
To compile this driver into the kernel, place the following lines in your
|
||||||
kernel configuration file:
|
kernel configuration file:
|
||||||
.Bd -ragged -offset -indent
|
.Bd -ragged -offset indent
|
||||||
.Cd "device vmd"
|
.Cd "device vmd"
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
|
@ -25,7 +25,7 @@ and the contents are written to
|
|||||||
can be updated without a system reboot by manually restarting the
|
can be updated without a system reboot by manually restarting the
|
||||||
motd service after updating
|
motd service after updating
|
||||||
.Pa /etc/motd.template :
|
.Pa /etc/motd.template :
|
||||||
.Bd -literal -offset -ident -compact
|
.Bd -literal -offset indent -compact
|
||||||
service motd restart
|
service motd restart
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
|
@ -168,7 +168,7 @@ execution state, however older arm binaries are not supported by
|
|||||||
.Fx .
|
.Fx .
|
||||||
.Pp
|
.Pp
|
||||||
On all supported architectures:
|
On all supported architectures:
|
||||||
.Bl -column -offset -indent "long long" "Size"
|
.Bl -column -offset indent "long long" "Size"
|
||||||
.It Sy Type Ta Sy Size
|
.It Sy Type Ta Sy Size
|
||||||
.It short Ta 2
|
.It short Ta 2
|
||||||
.It int Ta 4
|
.It int Ta 4
|
||||||
|
@ -87,12 +87,12 @@ elfctl -e +noaslr file
|
|||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Features may be specified as numerical values:
|
Features may be specified as numerical values:
|
||||||
.Bd -literal -offset -indent
|
.Bd -literal -offset indent
|
||||||
elfctl -e =0x0001,0x0004 file
|
elfctl -e =0x0001,0x0004 file
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Features may also be specified as a single combined value:
|
Features may also be specified as a single combined value:
|
||||||
.Bd -literal -offset -indent
|
.Bd -literal -offset indent
|
||||||
elfctl -e =0x5 file
|
elfctl -e =0x5 file
|
||||||
.Ed
|
.Ed
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
|
@ -308,13 +308,13 @@ specified in the
|
|||||||
.Nm
|
.Nm
|
||||||
command.
|
command.
|
||||||
Using the example above:
|
Using the example above:
|
||||||
.Bd -literal -offset -ident
|
.Bd -literal -offset indent
|
||||||
mkdir $D/usr/local/bin
|
mkdir $D/usr/local/bin
|
||||||
cp /usr/local/bin/qemu-arm-static $D/usr/local/bin
|
cp /usr/local/bin/qemu-arm-static $D/usr/local/bin
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Now the user can chroot into the environment normally, as root:
|
Now the user can chroot into the environment normally, as root:
|
||||||
.Bd -literal -offset -ident
|
.Bd -literal -offset indent
|
||||||
chroot $D
|
chroot $D
|
||||||
.Ed
|
.Ed
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
|
@ -139,7 +139,7 @@ A Version 7 format password file.
|
|||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
Regenerate the password database after manually editing or replacing
|
Regenerate the password database after manually editing or replacing
|
||||||
the password file:
|
the password file:
|
||||||
.Bd -literal -offset -indent
|
.Bd -literal -offset indent
|
||||||
/usr/sbin/pwd_mkdb -p /etc/master.passwd
|
/usr/sbin/pwd_mkdb -p /etc/master.passwd
|
||||||
.Ed
|
.Ed
|
||||||
.Sh COMPATIBILITY
|
.Sh COMPATIBILITY
|
||||||
|
@ -141,39 +141,39 @@ For a full list of commands available in most rc.d scripts, see
|
|||||||
.Xr rc 8 .
|
.Xr rc 8 .
|
||||||
.Pp
|
.Pp
|
||||||
Enable a service, then start it:
|
Enable a service, then start it:
|
||||||
.Bd -literal -offset -indent
|
.Bd -literal -offset indent
|
||||||
service sshd enable
|
service sshd enable
|
||||||
service sshd start
|
service sshd start
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Stop a service, then disable it:
|
Stop a service, then disable it:
|
||||||
.Bd -literal -offset -indent
|
.Bd -literal -offset indent
|
||||||
service sshd stop
|
service sshd stop
|
||||||
service sshd disable
|
service sshd disable
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Start a service which is not enabled:
|
Start a service which is not enabled:
|
||||||
.Bd -literal -offset -indent
|
.Bd -literal -offset indent
|
||||||
service sshd onestart
|
service sshd onestart
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Report the status of a service:
|
Report the status of a service:
|
||||||
.Bd -literal -offset -ident
|
.Bd -literal -offset indent
|
||||||
service named status
|
service named status
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Restart a service running in a jail:
|
Restart a service running in a jail:
|
||||||
.Bd -literal -offset -indent
|
.Bd -literal -offset indent
|
||||||
service -j dns named restart
|
service -j dns named restart
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Start a service with a specific environment variable set:
|
Start a service with a specific environment variable set:
|
||||||
.Bd -literal -offset -indent
|
.Bd -literal -offset indent
|
||||||
service -E LC_ALL=C.UTF-8 named start
|
service -E LC_ALL=C.UTF-8 named start
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Report a verbose listing of all available services:
|
Report a verbose listing of all available services:
|
||||||
.Bd -literal -offset -indent
|
.Bd -literal -offset indent
|
||||||
service -rv
|
service -rv
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
@ -189,7 +189,7 @@ complete service 'c/-/(e l r v)/' 'p/1/`service -l`/' \e
|
|||||||
The following programmable completion entry can be used in
|
The following programmable completion entry can be used in
|
||||||
.Xr bash 1
|
.Xr bash 1
|
||||||
for the names of the rc.d scripts:
|
for the names of the rc.d scripts:
|
||||||
.Bd -literal -offset -ident
|
.Bd -literal -offset indent
|
||||||
_service () {
|
_service () {
|
||||||
local cur
|
local cur
|
||||||
cur=${COMP_WORDS[COMP_CWORD]}
|
cur=${COMP_WORDS[COMP_CWORD]}
|
||||||
|
Loading…
Reference in New Issue
Block a user