Message ID | 1410902651-9240-1-git-send-email-vadim4j@gmail.com |
---|---|
State | Accepted, archived |
Delegated to: | stephen hemminger |
Headers | show |
On Wed, 17 Sep 2014 00:24:11 +0300 Vadim Kochan <vadim4j@gmail.com> wrote: > show, list, lst and help commands were not printed in usage. > > Signed-off-by: Vadim Kochan <vadim4j@gmail.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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");
show, list, lst and help commands were not printed in usage. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> --- ip/iptuntap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)