From 033894c029aea331814310c19af7fb43cee9db1b Mon Sep 17 00:00:00 2001 From: ru Date: Mon, 18 Sep 2006 11:56:51 +0000 Subject: - 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(-) (limited to 'share') diff --git a/share/examples/mdoc/example.4 b/share/examples/mdoc/example.4 index 7ee51f7..5596d75 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" -- cgit v1.1