zebra: Fix docstr mismatches in show ip route - #21865
Merged
ton31337 merged 1 commit intoMay 9, 2026
Merged
Conversation
Greptile SummaryThis PR fixes two categories of CLI docstring mismatches in zebra's
Confidence Score: 5/5Safe to merge β all three files change together consistently and no logic paths are modified. The changes are narrowly scoped to docstring corrections and CLI token reordering; the runtime handler is untouched and all three files are updated consistently. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["show ip|ipv6 route"] --> B["[vrf NAME|all|table TABLENO]"]
B --> C["[prefix / address options]"]
C --> D["[redist type / ospf]"]
D --> E["[nexthop-group [summary [ecmp-count ...]]]"]
E --> F["[failed]"]
F --> G["[json]"]
G --> H["[brief]"]
style G fill:#c8e6c9,stroke:#388e3c
style H fill:#fff9c4,stroke:#f9a825
Reviews (1): Last reviewed commit: "zebra: Fix docstr mismatches in show ip ..." | Re-trigger Greptile |
ton31337
reviewed
May 6, 2026
mhrn83
force-pushed
the
fix-show-ip-route-docstr-mismatches
branch
from
May 6, 2026 15:21
e7311e7 to
e5f0554
Compare
- Fix docstrings for `show ip route` options that didn't match. - Restrict the `brief` option to be used only with the `json` option. - Update related doc and tests Signed-off-by: mhrn83 <mehranstock1383@gmail.com>
mhrn83
force-pushed
the
fix-show-ip-route-docstr-mismatches
branch
from
May 6, 2026 15:31
e5f0554 to
27656b5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
show ip routeoptions that didn't match.briefoption to be used only with thejsonoption.