From: mizuta.takeshi@fujitsu.com Date: Wed, 22 Sep 2021 14:26:00 +0000 (+0000) Subject: xtables-translate: add missing argument and option to usage X-Git-Tag: v1.8.8~121 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=040a15f27075ccded8d819af6cf0484c532515ef;p=thirdparty%2Fiptables.git xtables-translate: add missing argument and option to usage In xtables-restore-translate usage, the argument for the -f option and the -V|--version option are missing, so added them. Signed-off-by: MIZUTA Takeshi Signed-off-by: Florian Westphal --- 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 \n" - "Usage: %s [-h] [-f]\n" + "Usage: %s [-h] [-f ] [-V]\n" " [ --help ]\n" - " [ --file= ]\n", name, version, name); + " [ --file= ]\n" + " [ --version ]\n", name, version, name); exit(1); }