From patchwork Mon Dec 17 08:58:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hangbin Liu X-Patchwork-Id: 10732967 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6E66D6C5 for ; Mon, 17 Dec 2018 08:59:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58B6129715 for ; Mon, 17 Dec 2018 08:59:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C13E29740; Mon, 17 Dec 2018 08:59:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from bastion.fedoraproject.org (bastion01.fedoraproject.org [209.132.181.2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E467829715 for ; Mon, 17 Dec 2018 08:59:05 +0000 (UTC) Received: from mailman01.phx2.fedoraproject.org (mailman01.phx2.fedoraproject.org [10.5.126.36]) by bastion01.phx2.fedoraproject.org (Postfix) with ESMTP id 3367B6021747; Mon, 17 Dec 2018 08:59:05 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 bastion01.phx2.fedoraproject.org 3367B6021747 Received: from mailman01.phx2.fedoraproject.org (localhost [IPv6:::1]) by mailman01.phx2.fedoraproject.org (Postfix) with ESMTP id 299FF23F78109; Mon, 17 Dec 2018 08:59:05 +0000 (UTC) Received: by mailman01.phx2.fedoraproject.org (Postfix, from userid 991) id AACB023F78109; Mon, 17 Dec 2018 08:59:02 +0000 (UTC) Received: from smtp-mm-osuosl01.fedoraproject.org (smtp-mm-osuosl01.vpn.fedoraproject.org [192.168.1.23]) by mailman01.phx2.fedoraproject.org (Postfix) with ESMTP id CD9C323F78108 for ; Mon, 17 Dec 2018 08:59:00 +0000 (UTC) Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by smtp-mm-osuosl01.fedoraproject.org (Postfix) with ESMTPS id 8A0AC98057 for ; Mon, 17 Dec 2018 08:59:00 +0000 (UTC) Received: by mail-pg1-x52d.google.com with SMTP id m1so4166425pgq.8 for ; Mon, 17 Dec 2018 00:59:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ynDUQTDoVwV6qZGEQOjo/amyxZEdrHIEp01T9A05EgI=; b=SS0mkdw8HnIDXFdWai6Q0gwh7we+Aq+I1Z5S5Jfq6S8CI0VFAcq+PQGn3G5r+yUlxb 6EkJ1TfA9qVLz07k01EcEDe8LwCnL3YHeyME9X9N21VfzPa/388CcCISaUWdvvRnariH ZZZ7BycoRg1SNIgLbz8VYHSD/l5yU+hv3LGdxbu3ZE0pRBbG6ZDRMBmSCcEpIq9b3Ocq d1k+6+8W57J1FIx/1KqhHFSD4RGzHwT8I4Notgq6Rsc7gre8/zlFcPBaoZKAY8KpMMIO VTMpWIuMtW7aklNAUnRFZ+7WhccTW6LRRTB4MkmLk7Wsn9HseQt9LE0RU9/MWiC4hlaI +zPg== X-Gm-Message-State: AA+aEWb7YFSoPkAPyB9ZjkURUyP45i/217xKOa0Vc/G8wdqRCmgebC1I D+3Ci84mN+Dauad460ybVlFSNYqX X-Google-Smtp-Source: AFSGD/Ug8OstmxdQvrp+08RIGeh5tmtfbAEIXqJfWE5j9v2sNDDnm4SfRmT+as27z1Orokq9552Zew== X-Received: by 2002:a63:7d06:: with SMTP id y6mr11323002pgc.171.1545037138509; Mon, 17 Dec 2018 00:58:58 -0800 (PST) Received: from dhcp-12-139.nay.redhat.com ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id g3sm24610106pfe.37.2018.12.17.00.58.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Dec 2018 00:58:57 -0800 (PST) From: Hangbin Liu To: libteam@lists.fedorahosted.org Subject: [patch libteam] teamnl: update help message Date: Mon, 17 Dec 2018 16:58:34 +0800 Message-Id: <20181217085834.27366-1-liuhangbin@gmail.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Message-ID-Hash: LW4VL5UHS55GJYHJ75RAOSEOLPTT5BFT X-Message-ID-Hash: LW4VL5UHS55GJYHJ75RAOSEOLPTT5BFT X-MailFrom: liuhangbin@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Hangbin Liu , Jiri Pirko X-Mailman-Version: 3.1.1 Precedence: list List-Id: Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-Virus-Scanned: ClamAV using ClamSMTP Update help message so people could know we support port name directly. Signed-off-by: Hangbin Liu --- utils/teamnl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/teamnl.c b/utils/teamnl.c index e8de7e2..c53345d 100644 --- a/utils/teamnl.c +++ b/utils/teamnl.c @@ -521,7 +521,9 @@ static void print_help(const char *argv0) { printf( "%s [options] teamdevname command [command args]\n" - "\t-h --help Show this help\n", + "\t-h --help Show this help\n" + "\t-p --port_name team slave port name\n" + "\t-a --array_index team option array index\n", argv0); printf("Commands:\n"); for (i = 0; i < CMD_TYPE_COUNT; i++) {