[PATCH 2/2] doc: add VERSION section to manpages

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

 



This shall make it easier to identify outdated HTML renditions on the
interwebs, since many of them do not display the .TH header like man(1)
does.

Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx>
---
 ip6tables.8.in |    3 +++
 iptables.8.in  |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ip6tables.8.in b/ip6tables.8.in
index 5688133..4306934 100644
--- a/ip6tables.8.in
+++ b/ip6tables.8.in
@@ -419,3 +419,6 @@ iptables man page written by Herve Eychenne <rv@xxxxxxxxxxxx>.
 .\" .. sexy, too ..
 .\" .. witty, charming, powerful ..
 .\" .. and most of all, modest ..
+.SH VERSION
+.PP
+This manual page applies to ip6tables @PACKAGE_VERSION@.
diff --git a/iptables.8.in b/iptables.8.in
index d29deb2..f36d220 100644
--- a/iptables.8.in
+++ b/iptables.8.in
@@ -427,3 +427,6 @@ Man page originally written by Herve Eychenne <rv@xxxxxxxxxxxx>.
 .\" .. sexy, too ..
 .\" .. witty, charming, powerful ..
 .\" .. and most of all, modest ..
+.SH VERSION
+.PP
+This manual page applies to iptables @PACKAGE_VERSION@.
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux