netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Jiri Pirko <jiri@resnulli.us>
Cc: netdev@vger.kernel.org, davem@davemloft.net, nikolay@redhat.com
Subject: Re: [patch iproute2] add help command to bonding master
Date: Sun, 28 Sep 2014 16:07:40 -0700	[thread overview]
Message-ID: <20140928160740.5e90ba9f@urahara> (raw)
In-Reply-To: <1409923456-14596-1-git-send-email-jiri@resnulli.us>

On Fri,  5 Sep 2014 15:24:16 +0200
Jiri Pirko <jiri@resnulli.us> wrote:

> Signed-off-by: Jiri Pirko <jiri@resnulli.us>
> ---
>  ip/iplink_bond.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/ip/iplink_bond.c b/ip/iplink_bond.c
> index b5c511e..0a1ed03 100644
> --- a/ip/iplink_bond.c
> +++ b/ip/iplink_bond.c
> @@ -339,6 +339,9 @@ static int bond_parse_opt(struct link_util *lu, int argc, char **argv,
>  			}
>  			ad_select = get_index(ad_select_tbl, *argv);
>  			addattr8(n, 1024, IFLA_BOND_AD_SELECT, ad_select);
> +		} else if (matches(*argv, "help") == 0) {
> +			explain();
> +			return -1;
>  		} else {
>  			fprintf(stderr, "bond: unknown command \"%s\"?\n", *argv);
>  			explain();

Applied

      parent reply	other threads:[~2014-09-28 23:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-05 13:24 [patch iproute2] add help command to bonding master Jiri Pirko
2014-09-05 13:41 ` Vadim Kochan
2014-09-05 13:53   ` Jiri Pirko
2014-09-28 23:07 ` Stephen Hemminger [this message]

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=20140928160740.5e90ba9f@urahara \
    --to=stephen@networkplumber.org \
    --cc=davem@davemloft.net \
    --cc=jiri@resnulli.us \
    --cc=netdev@vger.kernel.org \
    --cc=nikolay@redhat.com \
    /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).