Retain entered flag spellings in parser failures
This commit is contained in:
@@ -251,7 +251,7 @@ value was prohibited. The complete offline root suite passed on Go 1.26.8.
|
||||
|
||||
## R-7: Retain entered flag spellings in parser-level usage failures
|
||||
|
||||
Status: open. Priority: P3. Category: incomplete diagnostic adaptation.
|
||||
Status: complete. Priority: P3. Category: incomplete diagnostic adaptation.
|
||||
|
||||
**Evidence:** Typed flag conversion uses occurrence provenance, but
|
||||
[Session.Parse](../../internal/cobra/parse.go#L89) returns normalized backend
|
||||
@@ -278,6 +278,15 @@ values and invalid help values, including an earlier invalid occurrence followed
|
||||
by a valid overwrite. Assert the identifying fragments and existing causes
|
||||
where supported; no new exact diagnostic format is required.
|
||||
|
||||
**Completed:** Missing-value failures now carry the entered long/short spelling
|
||||
through a neutral adapter record; earlier backend failures retain precedence.
|
||||
Built-in help conversion uses the failing occurrence's original spelling,
|
||||
including when a later valid value follows it. Adapter and public-boundary
|
||||
regressions failed before the fix and now cover alias values, clusters, help
|
||||
occurrences, entered usage paths, and input-initialization avoidance. Existing
|
||||
usage classification is unchanged. The complete offline root suite passed on
|
||||
Go 1.26.8.
|
||||
|
||||
## R-8: Reconcile the completed feature roadmap's historical descriptions
|
||||
|
||||
Status: open. Priority: P3. Category: documentation drift.
|
||||
|
||||
Reference in New Issue
Block a user