[PATCH 1/3] dumpcap: add --interface to help
Stephen Hemminger
stephen at networkplumber.org
Thu Jan 26 19:23:42 CET 2023
Make the help more complete, add all supported options.
Signed-off-by: Stephen Hemminger <stephen at 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
More information about the dev
mailing list