netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Mark Einon <mark.einon@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH iproute2 2/2] ip: Harmonise usage references to show / list option
Date: Tue, 24 Mar 2015 14:53:15 -0700	[thread overview]
Message-ID: <20150324145315.754c6ff3@urahara> (raw)
In-Reply-To: <1426499950-6641-2-git-send-email-mark.einon@gmail.com>

On Mon, 16 Mar 2015 09:59:10 +0000
Mark Einon <mark.einon@gmail.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.

  reply	other threads:[~2015-03-24 21:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-16  9:59 [PATCH iproute2 1/2] ip: Make uniform the use of synonyms list, show and lst Mark Einon
2015-03-16  9:59 ` [PATCH iproute2 2/2] ip: Harmonise usage references to show / list option Mark Einon
2015-03-24 21:53   ` Stephen Hemminger [this message]
2015-03-25  9:26     ` Mark Einon
2015-03-24 21:49 ` [PATCH iproute2 1/2] ip: Make uniform the use of synonyms list, show and lst Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150324145315.754c6ff3@urahara \
    --to=stephen@networkplumber.org \
    --cc=mark.einon@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).