[PATCH] man page fixes



Hi,

the attached patch fixes two small man page related issues:
1.) It adds the missing ".SH NAME" stanzas. Needed for tools like whatis
2.) It moves NetworkManager(Dispatcher) into section 8 (administration)

Feel free to apply.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
diff -urN network-manager-0.6.4.orig/configure.in network-manager-0.6.4/configure.in
--- network-manager-0.6.4.orig/configure.in	2006-07-13 16:01:15.000000000 +0200
+++ network-manager-0.6.4/configure.in	2006-11-30 20:39:29.000000000 +0100
@@ -358,8 +358,8 @@
 initscript/Arch/networkmanager
 initscript/Arch/networkmanager-dispatcher
 man/Makefile
-man/NetworkManager.1
-man/NetworkManagerDispatcher.1
+man/NetworkManager.8
+man/NetworkManagerDispatcher.8
 man/nm-tool.1
 po/Makefile.in
 NetworkManager.pc
diff -urN network-manager-0.6.4.orig/man/NetworkManager.1.in network-manager-0.6.4/man/NetworkManager.1.in
--- network-manager-0.6.4.orig/man/NetworkManager.1.in	2006-02-01 19:14:15.000000000 +0100
+++ network-manager-0.6.4/man/NetworkManager.1.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,26 +0,0 @@
-.\" NetworkManager(1) manual page
-.\"
-.\" Copyright (C) 2005 Robert Love
-.\"
-.TH NETWORKMANAGER "1"
-NetworkManager \- network management daemon
-.SH SYNOPSIS
-.B NetworkManager [\-\-no-daemon] [\-\-enable-test-devices]
-.SH DESCRIPTION
-The \fINetworkManager\fP daemon attempts to keep an active network connection
-available at all times.  The point of NetworkManager is to make networking
-configuration and setup as painless and automatic as possible.  If using DHCP,
-NetworkManager is intended to replace default routes, obtain IP addresses from
-a DHCP server, and change nameservers whenever it sees fit, with the aim of
-making networking Just Work.
-.SH OPTIONS
-The following options are supported:
-.TP
-.I "--no-daemon"
-Do not daemonize.  This is useful for debugging.
-.TP
-.I "--enable-test-devices"
-Enable support for virtual test devices.  These are useful for debugging.
-.SH SEE ALSO
-.BR NetworkManagerDispatcher (1),
-.BR nm-tool (1)
diff -urN network-manager-0.6.4.orig/man/NetworkManager.8.in network-manager-0.6.4/man/NetworkManager.8.in
--- network-manager-0.6.4.orig/man/NetworkManager.8.in	1970-01-01 01:00:00.000000000 +0100
+++ network-manager-0.6.4/man/NetworkManager.8.in	2006-11-30 20:41:59.000000000 +0100
@@ -0,0 +1,27 @@
+.\" NetworkManager(8) manual page
+.\"
+.\" Copyright (C) 2005 Robert Love
+.\"
+.TH NETWORKMANAGER "8"
+.SH NAME
+NetworkManager \- network management daemon
+.SH SYNOPSIS
+.B NetworkManager [\-\-no-daemon] [\-\-enable-test-devices]
+.SH DESCRIPTION
+The \fINetworkManager\fP daemon attempts to keep an active network connection
+available at all times.  The point of NetworkManager is to make networking
+configuration and setup as painless and automatic as possible.  If using DHCP,
+NetworkManager is intended to replace default routes, obtain IP addresses from
+a DHCP server, and change nameservers whenever it sees fit, with the aim of
+making networking Just Work.
+.SH OPTIONS
+The following options are supported:
+.TP
+.I "--no-daemon"
+Do not daemonize.  This is useful for debugging.
+.TP
+.I "--enable-test-devices"
+Enable support for virtual test devices.  These are useful for debugging.
+.SH SEE ALSO
+.BR NetworkManagerDispatcher (8),
+.BR nm-tool (1)
diff -urN network-manager-0.6.4.orig/man/NetworkManagerDispatcher.1.in network-manager-0.6.4/man/NetworkManagerDispatcher.1.in
--- network-manager-0.6.4.orig/man/NetworkManagerDispatcher.1.in	2006-02-01 19:14:15.000000000 +0100
+++ network-manager-0.6.4/man/NetworkManagerDispatcher.1.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,28 +0,0 @@
-.\" NetworkManager(1) manual page
-.\"
-.\" Copyright (C) 2005 Robert Love
-.\"
-.TH NETWORKMANAGERDISPATCHER "1"
-NetworkManagerDispatcher \- daemon that runs commands in response to off/online
-.SH SYNOPSIS
-.B NetworkManagerDispatcher [\-\-no-daemon]
-.SH DESCRIPTION
-The \fINetworkManagerDispatcher\fP daemon runs commands in the
-.I @sysconfdir@/NetworkManager/dispatcher.d
-directory in response to interfaces coming up and down.  The scripts are run
-alphabetically.  The first parameter is the network interface name.  The second
-parameter is
-.I up
-if the interface is now up and
-.I down
-if the interface is now down.
-.SH OPTIONS
-The following options are supported:
-.TP
-.I "--no-daemon"
-Do not daemonize.  This is useful for debugging.
-.SH FILES
- sysconfdir@/NetworkManager/dispatcher.d
-.SH SEE ALSO
-.BR NetworkManager (1),
-.BR nm-tool (1)
diff -urN network-manager-0.6.4.orig/man/NetworkManagerDispatcher.8.in network-manager-0.6.4/man/NetworkManagerDispatcher.8.in
--- network-manager-0.6.4.orig/man/NetworkManagerDispatcher.8.in	1970-01-01 01:00:00.000000000 +0100
+++ network-manager-0.6.4/man/NetworkManagerDispatcher.8.in	2006-11-30 20:42:04.000000000 +0100
@@ -0,0 +1,29 @@
+.\" NetworkManager(8) manual page
+.\"
+.\" Copyright (C) 2005 Robert Love
+.\"
+.TH NETWORKMANAGERDISPATCHER "8"
+.SH NAME
+NetworkManagerDispatcher \- daemon that runs commands in response to off/online
+.SH SYNOPSIS
+.B NetworkManagerDispatcher [\-\-no-daemon]
+.SH DESCRIPTION
+The \fINetworkManagerDispatcher\fP daemon runs commands in the
+.I @sysconfdir@/NetworkManager/dispatcher.d
+directory in response to interfaces coming up and down.  The scripts are run
+alphabetically.  The first parameter is the network interface name.  The second
+parameter is
+.I up
+if the interface is now up and
+.I down
+if the interface is now down.
+.SH OPTIONS
+The following options are supported:
+.TP
+.I "--no-daemon"
+Do not daemonize.  This is useful for debugging.
+.SH FILES
+ sysconfdir@/NetworkManager/dispatcher.d
+.SH SEE ALSO
+.BR NetworkManager (8),
+.BR nm-tool (1)
diff -urN network-manager-0.6.4.orig/man/nm-tool.1.in network-manager-0.6.4/man/nm-tool.1.in
--- network-manager-0.6.4.orig/man/nm-tool.1.in	2006-02-01 19:14:15.000000000 +0100
+++ network-manager-0.6.4/man/nm-tool.1.in	2006-11-30 20:42:17.000000000 +0100
@@ -3,6 +3,7 @@
 .\" Copyright (C) 2005 Robert Love
 .\"
 .TH NM-TOOL "1"
+.SH NAME
 nm-tool \- utility to report NetworkManager state 
 .SH SYNOPSIS
 .B nm-tool
@@ -10,5 +11,5 @@
 The \fInm-tool\fP utility provides information about NetworkManager, device,
 and wireless networks.
 .SH SEE ALSO
-.BR NetworkManager (1),
-.BR NetworkManagerDispatcher (1)
+.BR NetworkManager (8),
+.BR NetworkManagerDispatcher (8)

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]