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