[Webkit-unassigned] [Bug 244111] New: Improve "invalid option" error message for malformed flags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 18 17:18:09 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=244111

            Bug ID: 244111
           Summary: Improve "invalid option" error message for malformed
                    flags
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tjc at igalia.com

I found the following error message to be confusing:

```
[������ org.webkit.Sdk GTK at 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220819/9f937b06/attachment-0001.htm>


More information about the webkit-unassigned mailing list