Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2020 15:35:39 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 63fb0d3bc3fd - main - Remove misleading macros from -width arguments
Message-ID:  <202012281535.0BSFZdNf088969@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp (doc, ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=63fb0d3bc3fdd5163051ec35bc2f1e1837bc603e

commit 63fb0d3bc3fdd5163051ec35bc2f1e1837bc603e
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2020-12-28 15:29:35 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2020-12-28 15:30:55 +0000

    Remove misleading macros from -width arguments
    
    Also, remove $FreeBSD$ tag from manual page examples.
    
    MFC after:      1 week
---
 share/examples/mdoc/example.1 | 4 +---
 share/examples/mdoc/example.3 | 2 --
 share/examples/mdoc/example.4 | 4 +---
 share/examples/mdoc/example.9 | 2 --
 4 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/share/examples/mdoc/example.1 b/share/examples/mdoc/example.1
index e149b0f4a816..c574b7f0f849 100644
--- a/share/examples/mdoc/example.1
+++ b/share/examples/mdoc/example.1
@@ -24,8 +24,6 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD$
-.\"
 .\" Note: The date here should be updated whenever a non-trivial
 .\" change is made to the manual page.
 .Dd December 8, 1999
@@ -47,7 +45,7 @@ It is intended that this example can be used as a template
 when writing a new manual page.
 .Pp
 The options are as follows:
-.Bl -tag -width "-d Ar argument"
+.Bl -tag -width "-d argument"
 .It Fl a
 Example optional
 .Fl a
diff --git a/share/examples/mdoc/example.3 b/share/examples/mdoc/example.3
index cfe7e011525b..52efbf9ca45b 100644
--- a/share/examples/mdoc/example.3
+++ b/share/examples/mdoc/example.3
@@ -24,8 +24,6 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD$
-.\"
 .\" Note: The date here should be updated whenever a non-trivial
 .\" change is made to the manual page.
 .Dd July 30, 2004
diff --git a/share/examples/mdoc/example.4 b/share/examples/mdoc/example.4
index d2bc40b4ead6..1d93ae90f26c 100644
--- a/share/examples/mdoc/example.4
+++ b/share/examples/mdoc/example.4
@@ -24,8 +24,6 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD$
-.\"
 .\" Note: The date here should be updated whenever a non-trivial
 .\" change is made to the manual page.
 .Dd July 31, 2015
@@ -81,7 +79,7 @@ Example device 4201
 Example device 4202
 .El
 .Sh FILES
-.Bl -tag -width ".Pa /dev/null" -compact
+.Bl -tag -width "/dev/null" -compact
 .It Pa /dev/null
 Example of a file in the
 .Sx FILES
diff --git a/share/examples/mdoc/example.9 b/share/examples/mdoc/example.9
index 639a8d2ca7e8..7e61a64cdc2e 100644
--- a/share/examples/mdoc/example.9
+++ b/share/examples/mdoc/example.9
@@ -24,8 +24,6 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD$
-.\"
 .\" Note: The date here should be updated whenever a non-trivial
 .\" change is made to the manual page.
 .Dd September 27, 2006



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012281535.0BSFZdNf088969>