From bf75fc041b35c75c2c592e01f1906771e00ce4eb Mon Sep 17 00:00:00 2001 From: Mart Frauenlob Date: Wed, 20 Mar 2013 04:14:06 +0000 Subject: 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 --- iptables/ip6tables.c | 2 +- iptables/iptables.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" -- cgit v1.2.3