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

    <tr>
        <th>Summary</th>
        <td>
            [clang-tidy] Show 'allow-enabling-analyzer-alpha-checkers' in '--help' command.
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            enhancement,
            clang-tidy
      </td>
    </tr>

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

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

<pre>
    In clang-tidy, we have an option `allow-enabling-analyzer-alpha-checkers` that is not visible to users.
https://github.com/llvm/llvm-project/blob/b6313b381ac0e83012ea11b4549cd8cb39b686d2/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp#L278-L284
I don't see a reason why it is invisible for users.

How can a user find out about the opportunity of running `analyzer-alpha-checkers` without reading source code?

I believe there are people like me who could benefit from seeing this option in regular `--help` documentation.

Moreover, the `allow-enabling-analyzer-alpha-checkers` option is presented in `run-clang-tidy`:
https://github.com/llvm/llvm-project/blob/b6313b381ac0e83012ea11b4549cd8cb39b686d2/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py#L298-L301
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzMlM-OpDYQxp_GXEq07AIaOHCYzAplpNlT8gL-U90467aRbeh0nj4ymdFMDpEyt71gqTBV9avvo2RK9uqJJtb9wrpvldzyEuK0q93qHGKlgnlMLx60k_5aZ2seDJ_hTrDInUB6CGu2wQM7c-lcuNfkpXLWX2vppXv8RbGWbl1krRfSPygmduaQF5nBJvAhw26TVY4gB9gSxXRi_GnJeU2seWI4M5yvNi-bOulwYzg7t78f9RrDH6Qzw1m5oMpxbkSjmkFIzWlouECSQqi2a0dtBq2aUZ2Hs0GG8xtPCC7V9GeO8iN2MM7lFcP5ucR-t-bxXVp_0uvKsHnFfqhfcWgZf3oBEzzDPkMiAgmRZAoe7ssD7MFo_TvhJcQPRMaffg130NKDPKJwsd5A2DJIVZ55IQjrGmLevM0PCBeIm_fWX49Z__dw7zYvJUEkacrtFLaoCXQwxJr5n9IvoMhZ2qmUiQQyEqwUVkfg7A-CG8F9CaDD5gwo8nSxGS4x3AplSZoXm96ltx4iXTcnY-msrhdya2nEBL3dyGdZbr0xfw-Rwk6xmKgQfsk27_USrJES-UymFGdnHjdff1LvzIt5fiof_bvD0_o4fDQO9WvDRWWmxozNKCuaRN9hi33bYrVMUhje9UIY0YuRn0fkg2wEChINNkRdZSfk2PFeNKLHluNJtWOnLn1jzDgM_aVnLaebtO5USE8hXiub0kaTaIeu5ZWTilw6fn5E8ov0mopmDJHhM0P8zIJlQcTpmJnarom13NmU00fubLM7Vsmnz7pv8NsS7sCw_59SY3_Iiv2bl7AHHW436c2p2qKbvizrgZwYzm_U-4R_BwAA__9N26LJ">