Show aliases beneath empty command groups
This commit is contained in:
@@ -187,7 +187,7 @@ passed on Go 1.26.8.
|
||||
|
||||
## R-5: Include alias routes in help for groups without canonical children
|
||||
|
||||
Status: open. Priority: P2. Category: help discovery gap.
|
||||
Status: complete. Priority: P2. Category: help discovery gap.
|
||||
|
||||
**Evidence:** [routeHelpAliases](../../help_view.go#L48) returns immediately when
|
||||
the selected canonical node has no canonical children. Alias records are
|
||||
@@ -206,6 +206,13 @@ commands and routing records; do not install fake children to fill the view.
|
||||
its explicit alias routes and their resolved destinations, while groups with
|
||||
no such routes retain their ordinary help behavior.
|
||||
|
||||
**Completed:** Group alias discovery no longer depends on canonical child
|
||||
count. A new regression failed for canonical and shortcut help before the
|
||||
correction, and now both help forms list the separate alias route. An unrelated
|
||||
empty group's help remains unchanged and the complete route still executes.
|
||||
No synthetic command children were introduced. The complete offline root suite
|
||||
passed on Go 1.26.8.
|
||||
|
||||
## R-6: Keep the flag interpretation pass consistent with value consumption
|
||||
|
||||
Status: open. Priority: P2. Category: canonical/alias parsing divergence.
|
||||
|
||||
Reference in New Issue
Block a user