[Webkit-unassigned] [Bug 167802] New: Support -v / --version in `jsc` binary
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 3 10:37:17 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=167802
Bug ID: 167802
Summary: Support -v / --version in `jsc` binary
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mathias at qiwi.be
There is currently no way to figure out the version of a given `jsc` binary:
```
$ jsc -v
Could not open file: -v
$ jsc --version
ERROR: invalid option: --version
>>> ^D
$ jsc --help
Usage: jsc [options] [files] [-- arguments]
-d Dumps bytecode (debug builds only)
-e Evaluate argument as script code
-f Specifies a source file (deprecated)
-h|--help Prints this help message
-i Enables interactive mode (default if no files are specified)
-m Execute as a module
-s Installs signal handlers that exit on a crash (Unix platforms only)
-p <file> Outputs profiling data to a file
-x Output exit code before terminating
--sample Collects and outputs sampling profiler data
--test262-async Check that some script calls the print function with the string 'Test262:AsyncTestComplete'
--strict-file=<file> Parse the given file as if it were in strict mode (this option may be passed more than once)
--module-file=<file> Parse and evaluate the given file as module (this option may be passed more than once)
--exception=<name> Check the last script exits with an uncaught exception with the specified name
--options Dumps all JSC VM options and exits
--dumpOptions Dumps all non-default JSC VM options before continuing
--<jsc VM option>=<value> Sets the specified JSC VM option
```
Please consider making `-v` / `--version` (and possibly `-h` / `--help`) output something useful.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170203/c1a078f6/attachment.html>
More information about the webkit-unassigned
mailing list