<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/92614>92614</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            tblgen-lsp-server --help usage omits needed redirect
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          FlashSheridan
      </td>
    </tr>
</table>

<pre>
    `tblgen-lsp-server --help` says:

> OVERVIEW: TableGen LSP Language Server
> USAGE: tblgen-lsp-server [options] <input file>


But passing a file, rather than redirecting from it, just sits there and waits for input followed by ctrl-D.

### Works:
`~/Documents/Code/external_code/ToT_LLVM/llvm-project/build/bin/tblgen-lsp-server --input-style=delimited < ~/Documents/Code/external_code/ToT_LLVM/llvm-project/mlir/test/tblgen-lsp-server/definition.test`


### Sits and Waits:
`~/Documents/Code/external_code/ToT_LLVM/llvm-project/build/bin/tblgen-lsp-server --input-style=delimited  ~/Documents/Code/external_code/ToT_LLVM/llvm-project/mlir/test/tblgen-lsp-server/definition.test`

----
I haven’t tried this with the default `--input-style`, as none of the examples in the above directory use it.  
Note also that `--input-style` is mentioned in `--help` but defined only in `--help-list-hidden`; the documentation could use more attention.

### Configuration
MacOS 13.6.7 22G720 on M1 Max
Clang 19 ToT: f03430f5e37e 2024-05-16, built with `ninja tblgen-lsp-server`
MacOSX14.2.sdk
Xcode 15.2 15C500b, Apple clang-1500.1.0.2.5

It‘s possible I did something wrong; tblgen-lsp-server does not work at all well in VS Code, not even reporting an obvious undefined variable caught by llvm-tblgen.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzMVU1v4zYQ_TX0ZSCBoj5sH3Rw_LEIkHSLOk32tqDEkcSEIgWSsuNLf3tBKdlNmuyphxYIYtN6mjd8fHzDnZOtRixJfkXy3YKPvjO2PCjuumOHVgquF5URl5IU1FeqRR0pN0QO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