]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
ipables: xtables-restore: output filename option in help text
authorFlorian Westphal <fw@strlen.de>
Mon, 16 Sep 2019 14:04:02 +0000 (16:04 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 16 Sep 2019 14:04:02 +0000 (16:04 +0200)
Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1341
Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/iptables-restore.c
iptables/xtables-restore.c

index 6e275e1c5e8ca44347652dc7fc2d5bd652a2fea4..430be18b3c30044de8a2e4df6afa4087e9e58629 100644 (file)
@@ -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"
index 2ef42fabc6f45728bb2e56743d71162b97b44075..601c842feab383c1588a73473672a32c56eea4d7 100644 (file)
@@ -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"