Re: [PATCH iproute2 v2] ip: drop 2-char command assumption

2021-04-20 Thread Stephen Hemminger
On Tue, 20 Apr 2021 01:26:36 -0700 Tony Ambardar wrote: > The 'ip' utility hardcodes the assumption of being a 2-char command, where > any follow-on characters are passed as an argument: > > $ ./ip-full help > Object "-full" is unknown, try "ip help". > > This confusing behaviour isn't seen

[PATCH iproute2 v2] ip: drop 2-char command assumption

2021-04-20 Thread Tony Ambardar
The 'ip' utility hardcodes the assumption of being a 2-char command, where any follow-on characters are passed as an argument: $ ./ip-full help Object "-full" is unknown, try "ip help". This confusing behaviour isn't seen with 'tc' for example, and was added in a 2005 commit without documenta