From ad9fae588fbeb0c156ff9c3460d57adbfee35ef2 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 18 Sep 2006 11:56:51 +0000 Subject: [PATCH] - Avoid using second person. - Demonstrate how .Nm can be used without the side effect of causing a line break in the SYNOPSIS section. --- share/examples/mdoc/example.4 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/share/examples/mdoc/example.4 b/share/examples/mdoc/example.4 index 7ee51f778684..5596d75cdcf5 100644 --- a/share/examples/mdoc/example.4 +++ b/share/examples/mdoc/example.4 @@ -33,16 +33,19 @@ .Nm example .Nd "example device driver manual page" .Sh SYNOPSIS -To compile this driver into the kernel, -place the following lines in your +To compile +.Ns Nm +into the kernel, +place the following lines in the kernel configuration file: .Bd -ragged -offset indent .Cd "device example" .Cd "options EXAMPLE_DEBUG" .Ed .Pp -Alternatively, to load the driver as a -module at boot time, place the following line in +Alternatively, to load +.Ns Nm +as a module at boot time, place the following line in .Xr loader.conf 5 : .Bd -literal -offset indent example_load="YES"