From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH ethtool 1/2] Remove short option -I for PHY statistics Date: Sun, 13 Mar 2016 17:09:56 +0100 Message-ID: <20160313160956.GH9674@lunn.ch> References: <1450871911-19509-3-git-send-email-andrew@lunn.ch> <20160313160120.GB21187@decadent.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org To: Ben Hutchings Return-path: Received: from vps0.lunn.ch ([178.209.37.122]:55741 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751441AbcCMQJ6 (ORCPT ); Sun, 13 Mar 2016 12:09:58 -0400 Content-Disposition: inline In-Reply-To: <20160313160120.GB21187@decadent.org.uk> Sender: netdev-owner@vger.kernel.org List-ID: On Sun, Mar 13, 2016 at 04:01:20PM +0000, Ben Hutchings wrote: > It's not mnemonic and there's no requirement to have short options > for every command. > > Signed-off-by: Ben Hutchings Reviewed-by: Andrew Lunn Thanks Andrew > --- > ethtool.8.in | 4 ++-- > ethtool.c | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/ethtool.8.in b/ethtool.8.in > index 2316556d65de..e44db99dc5d6 100644 > --- a/ethtool.8.in > +++ b/ethtool.8.in > @@ -220,7 +220,7 @@ ethtool \- query or control network driver and hardware settings > .B ethtool \-S|\-\-statistics > .I devname > .HP > -.B ethtool \-I|\-\-phy-statistics > +.B \-\-phy\-statistics > .I devname > .HP > .B ethtool \-t|\-\-test > @@ -495,7 +495,7 @@ auto-negotiation is enabled. > Queries the specified network device for NIC- and driver-specific > statistics. > .TP > -.B \-I \-\-phy\-statistics > +.B \-\-phy\-statistics > Queries the specified network device for PHY specific statistics. > .TP > .B \-t \-\-test > diff --git a/ethtool.c b/ethtool.c > index 480c14c8d30c..1c988f7d8a9d 100644 > --- a/ethtool.c > +++ b/ethtool.c > @@ -4136,7 +4136,7 @@ static const struct option { > { "-t|--test", 1, do_test, "Execute adapter self test", > " [ online | offline | external_lb ]\n" }, > { "-S|--statistics", 1, do_gstats, "Show adapter statistics" }, > - { "-I|--phy-statistics", 1, do_gphystats, > + { "--phy-statistics", 1, do_gphystats, > "Show phy statistics" }, > { "-n|-u|--show-nfc|--show-ntuple", 1, do_grxclass, > "Show Rx network flow classification options or rules", >