WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
244111
Improve "invalid option" error message for malformed flags
https://bugs.webkit.org/show_bug.cgi?id=244111
Summary
Improve "invalid option" error message for malformed flags
Tim Chevalier
Reported
2022-08-18 17:18:09 PDT
I found the following error message to be confusing: ``` [📦🌐🐱 org.webkit.Sdk GTK@Debug WebKit]$ WebKitBuild/GTK/Debug/bin/jsc -m JSTests/wasm/gc/arrays.js --useWebAssemblyGC ERROR: invalid option: --useWebAssemblyGC ``` Eventually I figured out that the flag needs to be `--useWebAssemblyGC=true`. It would be nice if, in general, rather than just "invalid option", the error message included a hint about what the argument for the flag should be.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-08-25 17:19:15 PDT
<
rdar://problem/99162851
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug