[PATCH 1/7] man: make TH word match Name line

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

 



The .TH first argument needs to match all the words preceding
the first dash in the Name section for mandb(8) to recognize
the summary (and for apropos(1) to then show it).

Before:

$ apropos ebtables
ebtables-legacy (8)  - (unknown subject)

After:

$ apropos ebtables
ebtables-legacy (8)  - Ethernet bridge frame table administration (legacy)

Signed-off-by: Jan Engelhardt <jengelh@xxxxxxx>
---
 ebtables-legacy.8.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ebtables-legacy.8.in b/ebtables-legacy.8.in
index 3417045..762ff67 100644
--- a/ebtables-legacy.8.in
+++ b/ebtables-legacy.8.in
@@ -1,4 +1,4 @@
-.TH EBTABLES 8  "@PACKAGE_DATE@"
+.TH EBTABLES-LEGACY 8 "@PACKAGE_DATE@"
 .\"
 .\" Man page written by Bart De Schuymer <bdschuym@xxxxxxxxxx>
 .\" It is based on the iptables man page.
@@ -24,7 +24,7 @@
 .\"     
 .\"
 .SH NAME
-ebtables-legacy (@PACKAGE_VERSION@) \- Ethernet bridge frame table administration (legacy)
+ebtables-legacy \- Ethernet bridge frame table administration (@PACKAGE_VERSION@)
 .SH SYNOPSIS
 .BR "ebtables " [ -t " table ] " - [ ACDI "] chain rule specification [match extensions] [watcher extensions] target"
 .br
-- 
2.42.1




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux