summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-02-20 16:39:54 +0100
committerJan Engelhardt <jengelh@medozas.de>2009-02-21 02:46:22 +0100
commit1791a45b279db742d6de35ea8dc1ad9dda4acb73 (patch)
treec602edf89c9fe28596781e06a339388532e75087 /iptables.c
parent6db2ded2f22a7e78743c86af523b8430876582e9 (diff)
doc: resynchronize manpage with in-code help
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'iptables.c')
-rw-r--r--iptables.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/iptables.c b/iptables.c
index a8e97c72..8448c18a 100644
--- a/iptables.c
+++ b/iptables.c
@@ -254,7 +254,8 @@ exit_printhelp(struct xtables_rule_match *matches)
printf("%s v%s\n\n"
"Usage: %s -[AD] chain rule-specification [options]\n"
-" %s -[RI] chain rulenum rule-specification [options]\n"
+" %s -I chain [rulenum] rule-specification [options]\n"
+" %s -R chain rulenum rule-specification [options]\n"
" %s -D chain rulenum [options]\n"
" %s -[LS] [chain [rulenum]] [options]\n"
" %s -[FZ] [chain] [options]\n"
@@ -264,7 +265,7 @@ exit_printhelp(struct xtables_rule_match *matches)
" %s -h (print this help information)\n\n",
prog_name, prog_vers, prog_name, prog_name,
prog_name, prog_name, prog_name, prog_name,
- prog_name, prog_name, prog_name);
+ prog_name, prog_name, prog_name, prog_name);
printf(
"Commands:\n"