From nobody Wed May 15 16:00:02 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 4VfdGV4PsSz5L5J5; Wed, 15 May 2024 16:00:02 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VfdGV3vJCz4SLf; Wed, 15 May 2024 16:00:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715788802; 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=KCfmNUTSpTDJzu+AaYYmcGBSJpttGL4PKMM05lkCZAE=; b=j6lZFJWXMSuwdQOzEwspUPOmoxxXwrHLhQJ+hXc3cD9hDTkBXpkdkpduM959DgFMazWj+u HKXkmTYN4sCsF6WiTXe8Ve7StN4tuNb6NPhz6JcyNRHQQke7OEgwMykpmfkess8ixe/wVs 4uiDHXHBwGflhYe0rEhhxGKngYssMmiyRJEsTkngEXyt71l9z+P4Hex5GLJiokLgN6Y8r7 VX9u8nJtLzBIHCW1U3+oBTkzlkzeJNP/VurFhCezXJb9aX3NdZq1t1+m30vI7kgff5tGgc 3QMzYCBsBRuvGpsk8iAe8yppXziuPr1jdyyfgqZzWnL1YyMkXFuYBfSzJkk5dA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715788802; a=rsa-sha256; cv=none; b=abusjL59tF/pTNJvfZvUnEB6ChJrXd4tGrP6BGEcbO4r2EKMJD7AIeCp0aHWFCI7oaOzHz /GYsJePhPPj4AoYTAzevTwM8KkESdnu+C8uvUoegQsOGY/p0fundK03Fq6evVNxTB8ppGT 0ZQ/ZQm5m+t0MTW8ujMLJrX9bhMnkB8b+U3HrIwr2unF6iD6bUdfn5uZrMOMbOzk/gvUpP 8QWAUDtC70cFX17C1yOk5NVarj7E6EZkS0oVCSNDZZkUkDjd0x10rfUTiPJazfSt3plkbO 3Fyp5mzg0l2HaH7oFVckrf6ROi3f9mbdW6qJEkchVCNPvHovYkwHsJjx99NE6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715788802; 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=KCfmNUTSpTDJzu+AaYYmcGBSJpttGL4PKMM05lkCZAE=; b=iBdRHRKQlXyqYJdhprB0lihLlHnyqgA6wsMBJw1hPTV/5YqK/xnSC263Tf3JUFIhVM8c+/ yKfT0GyWFpq/x85qBJR4kkyGcags6mKV5rpTlpv/sBJDYK//+OeSma8MVw8TUBlRoO3hwI khSx5jFwQCwPjkvzC4e2EA2Tp00j5a5a5Qn4m1Q4nP8ObS+bWOTM+R1kd9ZHuQzXf2cQXa DUguWnmDe2dQarfvqLudhzGTk5tzH15wluxDezMZdWeHTnySGbNQHLKK7sZCWixHxO6i0x UhU+xZ+MAWWmd4U/94HO6O6RBTldd96ExXWRlLI+yke3PrAoM5+U8/ofFg054Q== 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 4VfdGV3VN2zLtV; Wed, 15 May 2024 16:00:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44FG02RB055753; Wed, 15 May 2024 16:00:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44FG02Ll055746; Wed, 15 May 2024 16:00:02 GMT (envelope-from git) Date: Wed, 15 May 2024 16:00:02 GMT Message-Id: <202405151600.44FG02Ll055746@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= Subject: git: 0d230c89f5b3 - stable/14 - expand: Fix markup for the `-t` option. 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: des X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 0d230c89f5b39b06730bb43aa6e0cd0482dbd64a Auto-Submitted: auto-generated The branch stable/14 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=0d230c89f5b39b06730bb43aa6e0cd0482dbd64a commit 0d230c89f5b39b06730bb43aa6e0cd0482dbd64a Author: Dag-Erling Smørgrav AuthorDate: 2024-05-13 10:41:27 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2024-05-15 15:59:30 +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) --- 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