[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150325092644.GA5667@leicester.auvation.com>
Date: Wed, 25 Mar 2015 09:26:44 +0000
From: Mark Einon <mark.einon@...il.com>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH iproute2 2/2] ip: Harmonise usage references to show /
list option
On Tue, Mar 24, 2015 at 02:53:15PM -0700, Stephen Hemminger wrote:
> On Mon, 16 Mar 2015 09:59:10 +0000
> Mark Einon <mark.einon@...il.com> wrote:
>
> > diff --git a/ip/iproute.c b/ip/iproute.c
> > index c842e85..b863e7b 100644
> > --- a/ip/iproute.c
> > +++ b/ip/iproute.c
> > @@ -59,7 +59,7 @@ static void usage(void) __attribute__((noreturn));
> >
> > static void usage(void)
> > {
> > - fprintf(stderr, "Usage: ip route { list | flush } SELECTOR\n");
>
> Sorry, this sounds like a good idea until I went and checked what
> is shown on the man pages.
>
> The ip route man page has:
>
> ip route { list | flush } SELECTOR
>
> For me, it is more important that the usage match the man page,
> rather than having all usage messages match.
Thanks for the review Stephen. So, I'm assuming that a set of patches
with corresponding man page fixes would be acceptable? I was going to
look at those next anyway, time permitting.
Mark
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists