<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Support -v / --version in `jsc` binary"
   href="https://bugs.webkit.org/show_bug.cgi?id=167802">167802</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Support -v / --version in `jsc` binary
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>JavaScriptCore
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mathias&#64;qiwi.be
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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
<span class="quote">&gt;&gt;&gt; ^D</span >

$ 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 &lt;file&gt;  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=&lt;file&gt;       Parse the given file as if it were in strict mode (this option may be passed more than once)
  --module-file=&lt;file&gt;       Parse and evaluate the given file as module (this option may be passed more than once)
  --exception=&lt;name&gt;         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
  --&lt;jsc VM option&gt;=&lt;value&gt;  Sets the specified JSC VM option
```

Please consider making `-v` / `--version` (and possibly `-h` / `--help`) output something useful.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>