From ff0b6c615fb79ac9b10e908cc41096e4920f76fb Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Mon, 16 Sep 2019 16:04:02 +0200 Subject: ipables: xtables-restore: output filename option in help text Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1341 Signed-off-by: Florian Westphal --- iptables/iptables-restore.c | 2 +- iptables/xtables-restore.c | 2 +- 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" -- cgit v1.2.3