Skip to content

Enhancement: Show options for show ip route #24036

@liamkearney-msft

Description

@liamkearney-msft

Is it platform specific

generic

Importance or Severity

Medium

Description of the enhancement

the command show ip route currently does not show any information on possible command options in its help text:
`
user@sonic-host:~$ show ip route -h
Usage: show ip route [OPTIONS] [IPADDRESS] [vrf <vrf_name>] [...]

Show IP (IPv4) routing table

Options:
-d, --display TEXT all|frontend
-n, --namespace TEXT Namespace name or all
--verbose Enable verbose output
-?, -h, --help Show this message and exit.
`

For example, show ip route summary is an option but no info is in the help text

Current Behavior

current behaviour shows no info for subcommands

Proposed Behavior

display subcommands in help text

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions