From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [PATCH 1/3] dumpcap: add --interface to help
Date: Thu, 26 Jan 2023 10:23:42 -0800 [thread overview]
Message-ID: <20230126182344.90635-2-stephen@networkplumber.org> (raw)
In-Reply-To: <20230126182344.90635-1-stephen@networkplumber.org>
Make the help more complete, add all supported options.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
app/dumpcap/main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/dumpcap/main.c b/app/dumpcap/main.c
index 2eb8414efaa5..297b6378aaf2 100644
--- a/app/dumpcap/main.c
+++ b/app/dumpcap/main.c
@@ -102,7 +102,8 @@ static void usage(void)
{
printf("Usage: %s [options] ...\n\n", progname);
printf("Capture Interface:\n"
- " -i <interface> name or port index of interface\n"
+ " -i <interface>, --interface <interface>\n"
+ " name or port index of interface\n"
" -f <capture filter> packet filter in libpcap filter syntax\n");
printf(" -s <snaplen>, --snapshot-length <snaplen>\n"
" packet snapshot length (def: %u)\n",
--
2.39.0
next prev parent reply other threads:[~2023-01-26 18:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-26 18:23 [PATCH 0/3] dumpcap: small enhancements Stephen Hemminger
2023-01-26 18:23 ` Stephen Hemminger [this message]
2023-01-26 18:23 ` [PATCH 2/3] dumpcap: support temp-dir option Stephen Hemminger
2023-01-26 18:23 ` [PATCH 3/3] dumpcap: add support statistics mode Stephen Hemminger
2023-02-06 9:46 ` [PATCH 0/3] dumpcap: small enhancements Thomas Monjalon
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=20230126182344.90635-2-stephen@networkplumber.org \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.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).