summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_string.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2008-06-08 19:11:51 +0200
committerPatrick McHardy <kaber@trash.net>2008-06-08 19:11:51 +0200
commit9b488b992872d4d2b7ebf7897d74d52f4fb59e1c (patch)
tree53f6cbd44c025aec18b9307cd88bbae43bb921e4 /extensions/libxt_string.c
parent0ea82bc43e9262cdbb9880ca56bb514db4c77f8e (diff)
manpage updates
A number of options support negation, but the manpage did not reflect this ("[!]" was absent). Also fix a few [] (optional arguments) to {} (required arguments) in the option-BNF. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'extensions/libxt_string.c')
-rw-r--r--extensions/libxt_string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_string.c b/extensions/libxt_string.c
index 82deb2a4..5eec44ba 100644
--- a/extensions/libxt_string.c
+++ b/extensions/libxt_string.c
@@ -38,8 +38,8 @@ static void string_help(void)
"--from Offset to start searching from\n"
"--to Offset to stop searching\n"
"--algo Algorithm\n"
-"--string [!] string Match a string in a packet\n"
-"--hex-string [!] string Match a hex string in a packet\n");
+"[!] --string string Match a string in a packet\n"
+"[!] --hex-string string Match a hex string in a packet\n");
}
static const struct option string_opts[] = {