The basic problem was differences in type list reported by help output and stated in man page.
I decided to tackle the problem from both sides: a) Make sure 'ip addr show' supports matching on all types reported. b) Add missing types in either list. This is still rather best-effort, actually things are quite messed up: - Lists are not sorted, it's easy to miss something. - The type list is duplicated four times as ip-link help and man page contain it, too. - The kernel supports more types than listed here. - We can't add but match on all types the kernel supports. Phil Sutter (2): ip-address: Support filtering by slave type, too ip-address: Align type list in help and man page ip/ipaddress.c | 58 +++++++++++++++++++++++++++--------------------- man/man8/ip-address.8.in | 3 +++ 2 files changed, 36 insertions(+), 25 deletions(-) -- 2.8.2