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