From nobody Mon Nov 04 15:56:41 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xhx0n5SP5z5cFYq; Mon, 04 Nov 2024 15:56:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xhx0n1WsMz4kZ6; Mon, 4 Nov 2024 15:56:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730735801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Tt5rZoBvTrKPcjXktke9zi8rloFDIQPQh7LWEYoUJUc=; b=qpe5S/52BXqhx030nRqtAXr/huvH3JRFJr8B8WVesn/2qSCtb67rVSCayDpWrsVwXntdj/ 83RpDC/mzGPWxGQ+TkLiV3r+KtdPNksVfRZbtPYJBV9zSKlETdl2h14iXqCxoHPyQarPLU FopzVoW72Z8iS2zR9tPj6My3WlZUWOM6A1jIns+w7Hp3oiK1JaDuP8gMFUgvG2YslGvRtQ hhQhYsnAq6E8T24iIOq8a9ZfArSzSQ8B9T5RT7dOvU4hQhCXDzbIKbjClt+mjC/mzrsXux AN9Hdk92FYPPMDJNDpdLhXYjNZ+IhmeCCPwYh2h9PBFJ98sFMAOibFXW6mTTPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730735801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Tt5rZoBvTrKPcjXktke9zi8rloFDIQPQh7LWEYoUJUc=; b=sg5hG0MKknIbr11u2CSy5UvAEt+HPkZ67xFi5BIsLQzsrtvWHYjp+kpFBK2ckXtLI6kBX4 S8njgmPN1xKITRn+w3f5XXNCeG2wHE1gro91Rzh1vKvCLxbPFH5GmMgHUpenKq/hV5BRxN geuhwsriOHI2vHxv8dzZIn1Cm18Iiw8joDMR/qY4vqJD5ZvQcuODM+X6Eb9VPgVL/iIEzG qwKo2CfOC78PFVXjlkoOzPwml79ZDx/gfgExPn2X6IL6Ui41l7d3CGEXcj8AFX4gTtzFG2 SO0DqeR3lWRwKY4db2V26+Mqs1aBAf+qN2Wzv32jn6SgDDGc40LVHIrAypBOEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730735801; a=rsa-sha256; cv=none; b=rehazGHAMxV92lZynQ4AEkMNKTfnCNWSPrw5+ZdnGSo4Qw21dVXqYoOGif0D5KRJuABdxV Jnk8LvPx5Kpm/nNC2k8VIxRM21pqqXLgzVWrstg1G2aQKow7w+/VMccfqwATpdsOCCPtJH HKWIT/k4CQT3xuOqTQULkoeZMze4Vcgb408IYmMjnN3NKqgmZ5xXubCOxmUghj3aeEIKJJ ayRMUp/EF3B/+BJMvrTHuLctElElSc3Q+0OaKdu+vLih0Mqx+F2P6erjBOvU3G1SO+bhSr Ny91VDEQWwMJ+pTqSZ4RQxhc9ghTpDYGnLOx347ZabcwpRvIzF4KP+XAuvQF3A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xhx0n16j6zg8G; Mon, 4 Nov 2024 15:56:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A4Fuf6W072265; Mon, 4 Nov 2024 15:56:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A4FufMK072262; Mon, 4 Nov 2024 15:56:41 GMT (envelope-from git) Date: Mon, 4 Nov 2024 15:56:41 GMT Message-Id: <202411041556.4A4FufMK072262@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mitchell Horne Subject: git: 7d7c17b7f638 - stable/14 - manuals: Fix typos in -offset for .Bd and .Bl List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 7d7c17b7f6389bc718389d0259543ec7cabffcf5 Auto-Submitted: auto-generated The branch stable/14 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=7d7c17b7f6389bc718389d0259543ec7cabffcf5 commit 7d7c17b7f6389bc718389d0259543ec7cabffcf5 Author: Graham Percival AuthorDate: 2024-09-24 18:34:26 +0000 Commit: Mitchell Horne CommitDate: 2024-11-04 15:56:24 +0000 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 Reviewed by: mhorne, Alexander Ziaee MFC after: 3 days Sponsored by: Tarsnap Backup Inc. Pull Request: https://github.com/freebsd/freebsd-src/pull/1436 (cherry picked from commit c013ca2cf772194de340aeb452a6ccfe7e1cecd8) --- bin/sh/sh.1 | 4 ++-- share/man/man4/efidev.4 | 2 +- share/man/man4/vmd.4 | 2 +- share/man/man5/motd.5 | 2 +- share/man/man7/arch.7 | 2 +- usr.bin/elfctl/elfctl.1 | 4 ++-- usr.sbin/binmiscctl/binmiscctl.8 | 4 ++-- usr.sbin/pwd_mkdb/pwd_mkdb.8 | 2 +- usr.sbin/service/service.8 | 16 ++++++++-------- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index fb3afc7d3d4d..03e8af70c9aa 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -1076,13 +1076,13 @@ command. Commands may be grouped by writing either .Pp .Sm off -.Bd -literal -offset -ident +.Bd -literal -offset indent .Po Ar list Pc .Ed .Sm on .Pp or -.Bd -literal -offset -ident +.Bd -literal -offset indent .No { Ar list ; } .Ed .Pp diff --git a/share/man/man4/efidev.4 b/share/man/man4/efidev.4 index 684a93340d7f..defae1f31bea 100644 --- a/share/man/man4/efidev.4 +++ b/share/man/man4/efidev.4 @@ -34,7 +34,7 @@ .Sh SYNOPSIS To compile this driver into the kernel, place the following lines in your kernel configuration file: -.Bd -ragged -offset -indent +.Bd -ragged -offset indent .Cd "options EFIRT" .Ed .Pp diff --git a/share/man/man4/vmd.4 b/share/man/man4/vmd.4 index 2d6a06bc10e3..590a368f006b 100644 --- a/share/man/man4/vmd.4 +++ b/share/man/man4/vmd.4 @@ -34,7 +34,7 @@ .Sh SYNOPSIS To compile this driver into the kernel, place the following lines in your kernel configuration file: -.Bd -ragged -offset -indent +.Bd -ragged -offset indent .Cd "device vmd" .Ed .Pp diff --git a/share/man/man5/motd.5 b/share/man/man5/motd.5 index 86cb8f723634..5dce1ccd52ae 100644 --- a/share/man/man5/motd.5 +++ b/share/man/man5/motd.5 @@ -25,7 +25,7 @@ and the contents are written to can be updated without a system reboot by manually restarting the motd service after updating .Pa /etc/motd.template : -.Bd -literal -offset -ident -compact +.Bd -literal -offset indent -compact service motd restart .Ed .Pp diff --git a/share/man/man7/arch.7 b/share/man/man7/arch.7 index 35a7b0246389..24979eb6b186 100644 --- a/share/man/man7/arch.7 +++ b/share/man/man7/arch.7 @@ -173,7 +173,7 @@ and binaries aren't supported. .Pp 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 short Ta 2 .It int Ta 4 diff --git a/usr.bin/elfctl/elfctl.1 b/usr.bin/elfctl/elfctl.1 index 2dbe04ee0ed2..5ba016b664a3 100644 --- a/usr.bin/elfctl/elfctl.1 +++ b/usr.bin/elfctl/elfctl.1 @@ -87,12 +87,12 @@ elfctl -e +noaslr file .Ed .Pp Features may be specified as numerical values: -.Bd -literal -offset -indent +.Bd -literal -offset indent elfctl -e =0x0001,0x0004 file .Ed .Pp Features may also be specified as a single combined value: -.Bd -literal -offset -indent +.Bd -literal -offset indent elfctl -e =0x5 file .Ed .Sh SEE ALSO diff --git a/usr.sbin/binmiscctl/binmiscctl.8 b/usr.sbin/binmiscctl/binmiscctl.8 index 4a4890146b57..17bce41a3212 100644 --- a/usr.sbin/binmiscctl/binmiscctl.8 +++ b/usr.sbin/binmiscctl/binmiscctl.8 @@ -308,13 +308,13 @@ specified in the .Nm command. Using the example above: -.Bd -literal -offset -ident +.Bd -literal -offset indent mkdir $D/usr/local/bin cp /usr/local/bin/qemu-arm-static $D/usr/local/bin .Ed .Pp Now the user can chroot into the environment normally, as root: -.Bd -literal -offset -ident +.Bd -literal -offset indent chroot $D .Ed .Sh SEE ALSO diff --git a/usr.sbin/pwd_mkdb/pwd_mkdb.8 b/usr.sbin/pwd_mkdb/pwd_mkdb.8 index 68e4911144f0..56f3024fd62f 100644 --- a/usr.sbin/pwd_mkdb/pwd_mkdb.8 +++ b/usr.sbin/pwd_mkdb/pwd_mkdb.8 @@ -141,7 +141,7 @@ A Version 7 format password file. .Sh EXAMPLES Regenerate the password database after manually editing or replacing the password file: -.Bd -literal -offset -indent +.Bd -literal -offset indent /usr/sbin/pwd_mkdb -p /etc/master.passwd .Ed .Sh COMPATIBILITY diff --git a/usr.sbin/service/service.8 b/usr.sbin/service/service.8 index 2c5dfa3f3a66..380fbc8c1269 100644 --- a/usr.sbin/service/service.8 +++ b/usr.sbin/service/service.8 @@ -141,39 +141,39 @@ For a full list of commands available in most rc.d scripts, see .Xr rc 8 . .Pp Enable a service, then start it: -.Bd -literal -offset -indent +.Bd -literal -offset indent service sshd enable service sshd start .Ed .Pp Stop a service, then disable it: -.Bd -literal -offset -indent +.Bd -literal -offset indent service sshd stop service sshd disable .Ed .Pp Start a service which is not enabled: -.Bd -literal -offset -indent +.Bd -literal -offset indent service sshd onestart .Ed .Pp Report the status of a service: -.Bd -literal -offset -ident +.Bd -literal -offset indent service named status .Ed .Pp Restart a service running in a jail: -.Bd -literal -offset -indent +.Bd -literal -offset indent service -j dns named restart .Ed .Pp 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 .Ed .Pp Report a verbose listing of all available services: -.Bd -literal -offset -indent +.Bd -literal -offset indent service -rv .Ed .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 .Xr bash 1 for the names of the rc.d scripts: -.Bd -literal -offset -ident +.Bd -literal -offset indent _service () { local cur cur=${COMP_WORDS[COMP_CWORD]}