From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 85C8642495; Thu, 26 Jan 2023 19:23:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7273042D40; Thu, 26 Jan 2023 19:23:49 +0100 (CET) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mails.dpdk.org (Postfix) with ESMTP id C06B8400D7 for ; Thu, 26 Jan 2023 19:23:47 +0100 (CET) Received: by mail-pf1-f177.google.com with SMTP id g9so1675280pfo.5 for ; Thu, 26 Jan 2023 10:23:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QJT8/WY/Reap6WfT7a6JqSr6QOkgPmffnfsngLTsPmE=; b=okCckSptWUEqyUUwA3LbQxgNjYsuS4PvFWO1t5B+eFrOP3VnogKMPROAB1hnp5dQVt cKu17jWjaGqHSXbiHr/e2L7G+koEBOm/MyPEf7jN1e8Nnz6QmP15qH6MusyeYEj6xWgd 4gh9VDyBOIt+XpjdxVmQHBhntRdEfN49XxkXCBpxG0u/kGREs1YAL7/85HMYt9ztRHH3 XhBQajiYuhVzaDD+IgrPZ5zN/IJbeprT1FoJRtmH0vcZ9Zc11Z65SanRg2UrrzRTuNqK 3Qamu7YpZn97gfae2Z7tq8PYcnq4GF3m2cwtlVUacL/p4jGb/q6kqKWLNGGR/wwq3kNm oTMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QJT8/WY/Reap6WfT7a6JqSr6QOkgPmffnfsngLTsPmE=; b=U1gVGydM4E8Us3M0QpOhaxIHzlVGQI/Dkj+BflBw2hw8VMwHeGoMiYOsxw87iaKkQu js3h/u6IucEPHrdH7xq3ix4obe7nd/J3VnomUxucAV40TKe7eS5VZzI/r5Oc7RqzJpKm VSCLr+ODQFonitdZrNPyccNb2jbbxkpAi3nrx71nT76c7ZlvZKz4WMmZwzKPLOsAXOEZ LwTxB8Pu8yUZJoMOotsVJJEuWuaJiqHtaEdLmUCgeRJagKB3NlSoTOFbc3hllRJsbjsZ e4oHkqdwpXTdkMgZJ2hSuwtGABfLXHWAkudpqlrQdrpAr5YdjnavI4acl6zl5Bd9G+2l US+A== X-Gm-Message-State: AFqh2kpLOog1NYlFdsSzhqUsFhpxon9KHT0SgbMAl2jXbe3r3Tm4WsHZ 5d+r5jkZI4xsgmI+4K9fkdK6nztvyseIiIIC8p8= X-Google-Smtp-Source: AMrXdXvW9/f3pGBqpspfYQAmqFLvIKj4u6H2Em+88pcWOd9V4kuDNXfKd0TvMnJ8ZxZ75y1Gk1jJgA== X-Received: by 2002:a05:6a00:851:b0:58e:698:fe45 with SMTP id q17-20020a056a00085100b0058e0698fe45mr37504502pfk.14.1674757426622; Thu, 26 Jan 2023 10:23:46 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id r30-20020aa79ede000000b00582388bd80csm1139852pfq.83.2023.01.26.10.23.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 10:23:46 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH 1/3] dumpcap: add --interface to help Date: Thu, 26 Jan 2023 10:23:42 -0800 Message-Id: <20230126182344.90635-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230126182344.90635-1-stephen@networkplumber.org> References: <20230126182344.90635-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Make the help more complete, add all supported options. Signed-off-by: Stephen Hemminger --- 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 name or port index of interface\n" + " -i , --interface \n" + " name or port index of interface\n" " -f packet filter in libpcap filter syntax\n"); printf(" -s , --snapshot-length \n" " packet snapshot length (def: %u)\n", -- 2.39.0