]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
iplink: List valid 'type' argument in ip link help text
authorPhil Sutter <phil@nwl.cc>
Sat, 9 Jul 2016 09:22:45 +0000 (11:22 +0200)
committerStephen Hemminger <shemming@brocade.com>
Wed, 20 Jul 2016 19:04:34 +0000 (12:04 -0700)
Signed-off-by: Phil Sutter <phil@nwl.cc>
ip/iplink.c

index 365240e60873bb2947577f0fc8d01b1af55c915f..5609cc95bf0e9c17018573677f23e52c2a3f5f63 100644 (file)
@@ -55,7 +55,9 @@ void iplink_usage(void)
                fprintf(stderr, "                   type TYPE [ ARGS ]\n");
                fprintf(stderr, "       ip link delete { DEVICE | dev DEVICE | group DEVGROUP } type TYPE [ ARGS ]\n");
                fprintf(stderr, "\n");
-               fprintf(stderr, "       ip link set { DEVICE | dev DEVICE | group DEVGROUP } [ { up | down } ]\n");
+               fprintf(stderr, "       ip link set { DEVICE | dev DEVICE | group DEVGROUP }\n");
+               fprintf(stderr, "                         [ { up | down } ]\n");
+               fprintf(stderr, "                         [ type TYPE ARGS ]\n");
        } else
                fprintf(stderr, "Usage: ip link set DEVICE [ { up | down } ]\n");