From: Jan Engelhardt Date: Sun, 26 Apr 2009 20:01:30 +0000 (+0200) Subject: iface: remove version/revision from helptext X-Git-Tag: v1.15~4^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f6c317710f5aa9c4dab5e5b5f72c71549d256570;p=thirdparty%2Fxtables-addons.git iface: remove version/revision from helptext XTABLES_VERSION does not contain anything meaningful to display. Printing the revision is not of value too, I think. --- diff --git a/extensions/libxt_iface.c b/extensions/libxt_iface.c index 07f9cb7..8b162df 100644 --- a/extensions/libxt_iface.c +++ b/extensions/libxt_iface.c @@ -68,7 +68,7 @@ static bool iface_valid_name(const char *name) static void iface_mt_help(void) { printf( - _MODULE_NAME " match v%s rev:%#2x options:\n" + _MODULE_NAME " match options:\n" " --iface interface\t\tName of interface\n" "[!] --up\n" "[!] --down\t\t\tmatch if UP flag (not) set\n" @@ -84,8 +84,7 @@ static void iface_mt_help(void) "[!] --multicast\t\tmatch if MULTICAST flag (not) set\n" "[!] --dynamic\t\t\tmatch if DYNAMIC flag (not) set\n" "[!] --lower_up\t\t\tmatch if LOWER_UP flag (not) set\n" - "[!] --dormant\t\t\tmatch if DORMANT flag (not) set\n", - XTABLES_VERSION, _MODULE_REVISION); + "[!] --dormant\t\t\tmatch if DORMANT flag (not) set\n"); } static int iface_mt_parse(int c, char **argv, int invert, unsigned int *flags,