]> git.proxmox.com Git - mirror_iproute2.git/commit
ip link: Shortify printing the usage of link type
authorvadimk <vadim4j@gmail.com>
Tue, 30 Sep 2014 05:17:31 +0000 (08:17 +0300)
committerStephen Hemminger <shemming@brocade.com>
Thu, 9 Oct 2014 15:29:47 +0000 (08:29 -0700)
commit561e650eff679296d3f4c12657721ae769cbc187
tree2609c4e82f3dfc67ac7d5a8329754e1c6a324261
parentf29543125f05d72ec134951c5a9bec68a09e9ed5
ip link: Shortify printing the usage of link type

Allow to print particular link type usage by:

    ip link help [TYPE]

Currently to print usage for some link type it is needed
to use the following way:

    ip link { add | del | set } type TYPE help

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
16 files changed:
ip/ip_common.h
ip/iplink.c
ip/iplink_bond.c
ip/iplink_can.c
ip/iplink_hsr.c
ip/iplink_ipoib.c
ip/iplink_macvlan.c
ip/iplink_macvtap.c
ip/iplink_vlan.c
ip/iplink_vxlan.c
ip/link_gre.c
ip/link_gre6.c
ip/link_ip6tnl.c
ip/link_iptnl.c
ip/link_veth.c
ip/link_vti.c