From: Phil Sutter <phil@nwl.cc>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org
Subject: [iptables PATCH 1/2] utils: nfnl_osf: Fix synopsis in help text
Date: Wed, 20 Sep 2017 18:54:08 +0200 [thread overview]
Message-ID: <20170920165409.11456-2-phil@nwl.cc> (raw)
In-Reply-To: <20170920165409.11456-1-phil@nwl.cc>
* -d is optional
* -h is not really a flag, just anything not recognized triggers the
help output.
* That '<del rules>' bit is rather confusing than helpful.
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
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 645ec648fcc63..720e3a38dbd36 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 <del rules> -h\n",
+ "Usage: %s -f fingerprints [-d]\n",
argv[0]);
return -1;
}
--
2.13.1
next prev parent reply other threads:[~2017-09-20 16:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-20 16:54 [iptables PATCH 0/2] Document nfnl_osf utility Phil Sutter
2017-09-20 16:54 ` Phil Sutter [this message]
2017-09-20 16:54 ` [iptables PATCH 2/2] utils: Add a man page for nfnl_osf Phil Sutter
2017-10-04 13:53 ` [iptables PATCH 0/2] Document nfnl_osf utility Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170920165409.11456-2-phil@nwl.cc \
--to=phil@nwl.cc \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).