mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-30 19:43:21 +00:00
ip link: Add group in usage() for 'ip link delete'
Show deleting by group in 'ip link help' output:
...
ip link delete { DEVICE | dev DEVICE | group DEVGROUP } type TYPE [ ARGS ]
...
Also show separately DEVICE option in { } list.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
This commit is contained in:
parent
7f74cf6de0
commit
8916ccf66c
@ -53,9 +53,9 @@ void iplink_usage(void)
|
||||
fprintf(stderr, " [ numtxqueues QUEUE_COUNT ]\n");
|
||||
fprintf(stderr, " [ numrxqueues QUEUE_COUNT ]\n");
|
||||
fprintf(stderr, " type TYPE [ ARGS ]\n");
|
||||
fprintf(stderr, " ip link delete DEV 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 { dev DEVICE | group DEVGROUP } [ { up | down } ]\n");
|
||||
fprintf(stderr, " ip link set { DEVICE | dev DEVICE | group DEVGROUP } [ { up | down } ]\n");
|
||||
} else
|
||||
fprintf(stderr, "Usage: ip link set DEVICE [ { up | down } ]\n");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user