From 89c09c279e53abd66a7ca9b0dd8d2c2a5c8f2d9d Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 5 Jun 2018 14:49:54 +0200 Subject: [PATCH 1/2] utils: nfnl_osf: Fix synopsis in help text Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1487331 Upstream Status: iptables commit 1773dcaabb738 commit 1773dcaabb73884666d30b926677f8232e5c04b3 Author: Phil Sutter Date: Wed Sep 20 18:54:08 2017 +0200 utils: nfnl_osf: Fix synopsis in help text * -d is optional * -h is not really a flag, just anything not recognized triggers the help output. * That '' bit is rather confusing than helpful. Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso Signed-off-by: Phil Sutter --- utils/nfnl_osf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/nfnl_osf.c b/utils/nfnl_osf.c index bb5f92dc6d0aa..972128f47ba04 100644 --- a/utils/nfnl_osf.c +++ b/utils/nfnl_osf.c @@ -438,7 +438,7 @@ int main(int argc, char *argv[]) break; default: fprintf(stderr, - "Usage: %s -f fingerprints -d -h\n", + "Usage: %s -f fingerprints [-d]\n", argv[0]); return -1; } -- 2.17.0