From 0d230c89f5b39b06730bb43aa6e0cd0482dbd64a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Mon, 13 May 2024 12:41:27 +0200 Subject: [PATCH] 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) --- 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 9a49deb1a94..c1e19891b1a 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