refactor(msg): single space between keyword and message, improve config suggestions
Tightens keyword formatting (ok/FAIL/hint/etc.) from two spaces to one. Makes config key suggestions more generous: normalises spaces to underscores, matches against leaf segments, and uses substring matching. Updates all golden files.
This commit is contained in:
parent
db607ac696
commit
c9b448d508
47 changed files with 144 additions and 118 deletions
14
testdata/get-missing-all-flags-err.ct
vendored
14
testdata/get-missing-all-flags-err.ct
vendored
|
|
@ -5,10 +5,10 @@ $ pda get foobar --base64 --run --secret --> FAIL
|
|||
$ pda get foobar --run --> FAIL
|
||||
$ pda get foobar --run --secret --> FAIL
|
||||
$ pda get foobar --secret --> FAIL
|
||||
FAIL cannot get 'foobar': no such key
|
||||
FAIL cannot get 'foobar': no such key
|
||||
FAIL cannot get 'foobar': no such key
|
||||
FAIL unknown flag: --secret
|
||||
FAIL cannot get 'foobar': no such key
|
||||
FAIL unknown flag: --secret
|
||||
FAIL unknown flag: --secret
|
||||
FAIL cannot get 'foobar': no such key
|
||||
FAIL cannot get 'foobar': no such key
|
||||
FAIL cannot get 'foobar': no such key
|
||||
FAIL unknown flag: --secret
|
||||
FAIL cannot get 'foobar': no such key
|
||||
FAIL unknown flag: --secret
|
||||
FAIL unknown flag: --secret
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue