]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commit
iproute2: man page and /bin/ip disagree on del vs delete
authorAndreas Henriksson <andreas@fatal.se>
Sat, 19 May 2012 14:08:21 +0000 (16:08 +0200)
committerStephen Hemminger <shemminger@vyatta.com>
Mon, 21 May 2012 22:17:28 +0000 (15:17 -0700)
commit6e30461e73d4321864b49fb4cd6238ec9bb1ba75
tree8f27f3fb9d7d65838d888bb1f9ab2d6e48a51fbe
parentdb70d91c7859700f9febf9bad8c29681bf9ac711
iproute2: man page and /bin/ip disagree on del vs delete

Reported by Robert Henney:
> the 'ip' man page does not mention the command "del" at all but does
> claim, "As a rule, it is possible to add, delete and show (or list ) objects".
> however, 'ip' does not always recognize "delete" as a commend.
>
> robh@debian:~$ ip tunnel delete
> Command "delete" is unknown, try "ip tunnel help".

Lets use "delete" in all calls to matches() for consistency. This will
make both "del" and "delete" work everywhere.

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
ip/ip6tunnel.c
ip/ipl2tp.c
ip/iptunnel.c
ip/iptuntap.c