[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140928162039.3a0477f2@urahara>
Date: Sun, 28 Sep 2014 16:20:39 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Vadim Kochan <vadim4j@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH iproute2] ip tuntap: Added missing commands in usage
On Wed, 17 Sep 2014 00:24:11 +0300
Vadim Kochan <vadim4j@...il.com> wrote:
> show, list, lst and help commands were not printed in usage.
>
> Signed-off-by: Vadim Kochan <vadim4j@...il.com>
> ---
> ip/iptuntap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ip/iptuntap.c b/ip/iptuntap.c
> index 2391af2..0ce64a6 100644
> --- a/ip/iptuntap.c
> +++ b/ip/iptuntap.c
> @@ -36,7 +36,7 @@ static void usage(void) __attribute__((noreturn));
>
> static void usage(void)
> {
> - fprintf(stderr, "Usage: ip tuntap { add | del } [ dev PHYS_DEV ] \n");
> + fprintf(stderr, "Usage: ip tuntap { add | del | show | list | lst | help } [ dev PHYS_DEV ] \n");
> fprintf(stderr, " [ mode { tun | tap } ] [ user USER ] [ group GROUP ]\n");
> fprintf(stderr, " [ one_queue ] [ pi ] [ vnet_hdr ] [ multi_queue ]\n");
> fprintf(stderr, "\n");
both tuntap patches applied
--
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