From: Mart Frauenlob Date: Wed, 20 Mar 2013 04:14:06 +0000 (+0000) Subject: ip[6]tables: show --protocol instead of --proto in usage X-Git-Tag: v1.4.19.1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf75fc041b35c75c2c592e01f1906771e00ce4eb;p=thirdparty%2Fiptables.git ip[6]tables: show --protocol instead of --proto in usage As the man page shows --protocol not --proto, also do so in the usage text displayed by ip[6]tables -h. Signed-off-by: Mart Frauenlob Signed-off-by: Pablo Neira Ayuso --- diff --git a/iptables/ip6tables.c b/iptables/ip6tables.c index 7d02cc12..c8d34e2d 100644 --- a/iptables/ip6tables.c +++ b/iptables/ip6tables.c @@ -237,7 +237,7 @@ exit_printhelp(const struct xtables_rule_match *matches) "Options:\n" " --ipv4 -4 Error (line is ignored by ip6tables-restore)\n" " --ipv6 -6 Nothing (line is ignored by iptables-restore)\n" -"[!] --proto -p proto protocol: by number or name, eg. `tcp'\n" +"[!] --protocol -p proto protocol: by number or name, eg. `tcp'\n" "[!] --source -s address[/mask][,...]\n" " source specification\n" "[!] --destination -d address[/mask][,...]\n" diff --git a/iptables/iptables.c b/iptables/iptables.c index 085eea16..79fa37b1 100644 --- a/iptables/iptables.c +++ b/iptables/iptables.c @@ -231,7 +231,7 @@ exit_printhelp(const struct xtables_rule_match *matches) "Options:\n" " --ipv4 -4 Nothing (line is ignored by ip6tables-restore)\n" " --ipv6 -6 Error (line is ignored by iptables-restore)\n" -"[!] --proto -p proto protocol: by number or name, eg. `tcp'\n" +"[!] --protocol -p proto protocol: by number or name, eg. `tcp'\n" "[!] --source -s address[/mask][...]\n" " source specification\n" "[!] --destination -d address[/mask][...]\n"