From nobody Mon May 13 10:41:44 2024 X-Original-To: dev-commits-src-main@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 4VdGJ86PPsz5Jy7C; Mon, 13 May 2024 10:41:44 +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 4VdGJ85x73z4lFs; Mon, 13 May 2024 10:41:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715596904; 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=zch/iwZJNidO8AWSOwgKfmx3gT2Jqiv1bZ05cI6Lb7o=; b=NUc6aJFoR9UGRd+P8nf0dIGQkGxlz4faptAaTwSQsrlQByEhW3O7w2bQvYK9NdLCRhTIH9 a3u/1BWwCL07j0wZ1SeIxcydf2BgO+LItpk9pRHaEpyBL9MOK8BAeMKxB0eatXyudo+pjv PheAa6iKcTshhpYTmVRhQh2WaSni2Rw51OA1oSbUzs3lZ1sPwZAVwI8GsuiIV57sX+dqE+ EqAnhE2++4oZAVtOTO0Pq90KtrajNQjM2P3EceVY0hXEuK51lmsChqyPdYz3y9jarHS5le MiVK4WdpJO4bgyw+MEI7UE+3bqdJ3IdzdVq1Iab7bKOMCdBunCbn8syFUhONXg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715596904; a=rsa-sha256; cv=none; b=PveYq1FoupUbnghAaGhtI1U715Dnoco9yivXwhCdPYfpcILmxZM990A2CwIr9DCbbqC1ou spU8sBrVexeo/Fb0UhPey8piCwcn6Zm4fG3VVN6lxX9c0J6PYukpPSfyYKzzfDNmZmIhcP zA6L7J8BMqmlcggzFG/hcivvLW6qU376YwDNyp9xtgL+j+uSiowEGJ183rR9WCiex2cXZw aCBKsd7ywtksCCzYepIpbq6OvZPLgS69eU9h0ZyCVP0y7/DLzMgeK6BAvkkS8paX+Z1rO8 WSdeeWkH9IgShZeop4R+fPmt9gSqplGVuq6Vu9VIKh3YAGQ4mrVzqGkJlf1n1g== 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=1715596904; 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=zch/iwZJNidO8AWSOwgKfmx3gT2Jqiv1bZ05cI6Lb7o=; b=XpxPN1n00AoBLStQ9h7YHzyDAwojdeA40cif/vxHM2ipPETk34HYFCQfJb6Idt38zpLwqa jO7tI0QvMAkp38VEoT7/tg38F4hAL0ENRZUCBz0QOc/5muqXQgk/tfDJ/sxOuaXk10zVbv E1fGnh76NnBcNfhbEi381Wel2Lg8txxU8kt9mRc11JIHOK3jv3Jf5qQZ6xxGA1cwDk7FKP wdWYRsJ3LvSgd5lSsFOsnYNr68gAhu7RZ/btDkOhgIxHOEh0eEVWBLImFN3HDYgEUvVYLo 49Y43C7/EjVv5VbyNWozT1FZlhleatdAo6deoe4gSfLw380gMMlraoDhDfhPNQ== 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 4VdGJ85Xm4zl51; Mon, 13 May 2024 10:41:44 +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 44DAficD024692; Mon, 13 May 2024 10:41:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44DAfiqE024689; Mon, 13 May 2024 10:41:44 GMT (envelope-from git) Date: Mon, 13 May 2024 10:41:44 GMT Message-Id: <202405131041.44DAfiqE024689@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= Subject: git: f3eeeb959c9b - main - expand: Fix markup for the `-t` option. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: f3eeeb959c9b00c89a2e1ff009c78162eb398656 Auto-Submitted: auto-generated The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=f3eeeb959c9b00c89a2e1ff009c78162eb398656 commit f3eeeb959c9b00c89a2e1ff009c78162eb398656 Author: Dag-Erling Smørgrav AuthorDate: 2024-05-13 10:41:27 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2024-05-13 10:41:38 +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 --- 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 e63d9d7c1e03..68a7a57eb77e 100644 --- a/usr.bin/expand/expand.1 +++ b/usr.bin/expand/expand.1 @@ -78,9 +78,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 Ar tab1 , tab2 , ... , tabn +.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