F3.2: assert Diag (token,index) for all cli.parse error cases

Extend example 0717 to pin the offending token VIEW and its args index
for every failure the parser's Diag populates: unknown-command,
unknown-group, too-few-args, missing-value, value-eats-flag, and the
missing-required index. Closes the test-coverage gap flagged in review;
cli.sx parser logic unchanged.
This commit is contained in:
agra
2026-06-04 07:38:57 +03:00
parent 17b437ecfb
commit d1e5f10039
2 changed files with 47 additions and 3 deletions

View File

@@ -28,6 +28,17 @@ err-value-eats-flag: ok
err-missing-req: ok
diag-flag-tag: ok
diag-flag-token: ok
diag-cmd-tag: ok
diag-cmd-token: ok
diag-group-tag: ok
diag-group-token: ok
diag-too-few-tag: ok
diag-too-few-token: ok
diag-missing-value-tag: ok
diag-missing-value-token: ok
diag-value-eats-tag: ok
diag-value-eats-token: ok
diag-req-tag: ok
diag-req-token: ok
diag-req-index: ok
=== DONE ===