git: b45d038b5f7c - releng/14.1 - expand: Fix markup for the `-t` option.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 May 2024 10:05:00 UTC
The branch releng/14.1 has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=b45d038b5f7c3d4c972d656e08fea91e9059687b
commit b45d038b5f7c3d4c972d656e08fea91e9059687b
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2024-05-13 10:41:27 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-05-16 10:04:05 +0000
expand: Fix markup for the `-t` option.
PR: 274897
Fixes: 8993d785a261
MFC after: 3 days
Reviewed by: gbe
Differential Revision: https://reviews.freebsd.org/D45167
(cherry picked from commit f3eeeb959c9b00c89a2e1ff009c78162eb398656)
(cherry picked from commit 0d230c89f5b39b06730bb43aa6e0cd0482dbd64a)
Approved by: re (cperciva)
---
usr.bin/expand/expand.1 | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/usr.bin/expand/expand.1 b/usr.bin/expand/expand.1
index 9a49deb1a948..c1e19891b1ab 100644
--- a/usr.bin/expand/expand.1
+++ b/usr.bin/expand/expand.1
@@ -80,9 +80,15 @@ If the
.Fl a
option is given, then tabs are inserted whenever they would compress the
resultant file by replacing two or more characters.
-.It Fl t \&Sm Ar tab1 , tab2 , ... , tabn \&Sm
+.It Fl t Xo
+.Sm off
+.Ar tab1 , tab2 , ... , tabn
+.Sm on
+.Xc
Set tab stops at column positions
+.Sm off
.Ar tab1 , tab2 , ... , tabn .
+.Sm on
If only a single number is given, tab stops are set that number of
column positions apart instead of the default number of 8.
.El