From 63fb0d3bc3fdd5163051ec35bc2f1e1837bc603e Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Mon, 28 Dec 2020 16:29:35 +0100 Subject: [PATCH] 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