diff options
author | mizuta.takeshi@fujitsu.com <mizuta.takeshi@fujitsu.com> | 2021-09-22 14:26:00 +0000 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2021-09-26 11:32:51 +0200 |
commit | 040a15f27075ccded8d819af6cf0484c532515ef (patch) | |
tree | 1fbbfd139ecc8e533006ed275cd7cef389fa3e53 /iptables | |
parent | 2ed6dc7557b8c4a70bfd81684a72737312d7bd4b (diff) |
xtables-translate: add missing argument and option to usage
In xtables-restore-translate usage, the argument <FILE> for the -f option and
the -V|--version option are missing, so added them.
Signed-off-by: MIZUTA Takeshi <mizuta.takeshi@fujitsu.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables')
-rw-r--r-- | iptables/xtables-translate.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/iptables/xtables-translate.c b/iptables/xtables-translate.c index 49f44b6f..2a00a850 100644 --- a/iptables/xtables-translate.c +++ b/iptables/xtables-translate.c @@ -354,9 +354,10 @@ static void print_usage(const char *name, const char *version) { fprintf(stderr, "%s %s " "(c) 2014 by Pablo Neira Ayuso <pablo@netfilter.org>\n" - "Usage: %s [-h] [-f]\n" + "Usage: %s [-h] [-f <FILE>] [-V]\n" " [ --help ]\n" - " [ --file=<FILE> ]\n", name, version, name); + " [ --file=<FILE> ]\n" + " [ --version ]\n", name, version, name); exit(1); } |