]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
ip[6]tables: show --protocol instead of --proto in usage
authorMart Frauenlob <mart.frauenlob@chello.at>
Wed, 20 Mar 2013 04:14:06 +0000 (04:14 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 29 Mar 2013 15:48:11 +0000 (16:48 +0100)
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 <mart.frauenlob@chello.at>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/ip6tables.c
iptables/iptables.c

index 7d02cc122efb0855ef7ccec5ed0bf9f95fb1d3c2..c8d34e2d70d7f41233c3c3bb450171ed527a0294 100644 (file)
@@ -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"
index 085eea16983c4fbe085c87b32dbc7dd3e36f8e76..79fa37b1f240d4a58c5a1a06b89b3fa21b4f2a00 100644 (file)
@@ -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"