summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-09-16 16:04:02 +0200
committerFlorian Westphal <fw@strlen.de>2019-09-16 16:04:02 +0200
commitff0b6c615fb79ac9b10e908cc41096e4920f76fb (patch)
treee7232a5667c01785fc94b19c0d5e0af328067a93
parent03a4a20b675fb728866b51864b885714551176d3 (diff)
ipables: xtables-restore: output filename option in help text
Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1341 Signed-off-by: Florian Westphal <fw@strlen.de>
-rw-r--r--iptables/iptables-restore.c2
-rw-r--r--iptables/xtables-restore.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/iptables/iptables-restore.c b/iptables/iptables-restore.c
index 6e275e1c..430be18b 100644
--- a/iptables/iptables-restore.c
+++ b/iptables/iptables-restore.c
@@ -43,7 +43,7 @@ static const struct option options[] = {
static void print_usage(const char *name, const char *version)
{
- fprintf(stderr, "Usage: %s [-c] [-v] [-V] [-t] [-h] [-n] [-w secs] [-W usecs] [-T table] [-M command]\n"
+ fprintf(stderr, "Usage: %s [-c] [-v] [-V] [-t] [-h] [-n] [-w secs] [-W usecs] [-T table] [-M command] [file]\n"
" [ --counters ]\n"
" [ --verbose ]\n"
" [ --version]\n"
diff --git a/iptables/xtables-restore.c b/iptables/xtables-restore.c
index 2ef42fab..601c842f 100644
--- a/iptables/xtables-restore.c
+++ b/iptables/xtables-restore.c
@@ -44,7 +44,7 @@ static const struct option options[] = {
static void print_usage(const char *name, const char *version)
{
- fprintf(stderr, "Usage: %s [-c] [-v] [-V] [-t] [-h] [-n] [-T table] [-M command] [-4] [-6]\n"
+ fprintf(stderr, "Usage: %s [-c] [-v] [-V] [-t] [-h] [-n] [-T table] [-M command] [-4] [-6] [file]\n"
" [ --counters ]\n"
" [ --verbose ]\n"
" [ --version]\n"