Skip to content

Support ip route list SELECTOR #66

@brona

Description

@brona

As discussed in #64 with @kbrock it seems that now we can't do e.g. ip route list default, this was likely never implemented rather than a regression.

The list command at this point doesn't accept any arguments, this is as well in the current documentation/help:

#  iproute2mac
Usage: ip route list

# debian
Usage: ip route { list | flush } SELECTOR

As per

any_startswith(["show", "lst", "list"], argv[0]) and len(argv) == 1
we currently do not accept any arguments len(argv) == 1.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions