<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/80728>80728</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[flang][driver] Visibility of some alias options is wrong
</td>
</tr>
<tr>
<th>Labels</th>
<td>
flang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
luporl
</td>
</tr>
</table>
<pre>
It seems that when the `Visibility` of an option is omitted it defaults to "Clang".
This ends up hiding some valid aliases in Flang, such as `--verbose` and `--sysroot <sysroot>`:
`flang-new: error: unknown argument: '--verbose'`
`flang-new: error: unknown argument '--sysroot'`
Nonetheless, `-v` and `--sysroot=<sysroot>` are accepted by Flang.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUksGumzwQhZ_GbEaJzDgEWLC49-aP9G-6qro3eAC3xo48JlHevjKkulXVTTfGspgz58x8mtlOnqgT1buoLoVe0xxi59ZbiK7og3l2_ydgooUhzTrBYyYPaSYQZ_nNsu2ts-kpzhLCCNpDuCUbPFiGsNiUyIBNYGjUq0sMKYBA_HDaTwLxKORFyLf9_DpbBvKGYb3BbI31E3BYCO7aWQPaWc3EYD1c9_IP4HWYQXO2cjjcKfaBKTvR3uxv_OQYQgKhPl5Xof4TZynUq6k4yzGrHTw9hHoDijHEfFn9Dx8eHnSc1oV8ym8C6882WGedfxPZFX45-V1hO78ET2kmR8w5XU5w_1scoS5_BgIdCfQw0C1PvH_uMzoWplOmVa0uqCtrWZdnWbaqmDvsB102ZmxGxPOAjVEoW8RancqqHIgK26HEk0RZla1sq_JoWjk2qj6pU0WlHhtxkrRo647O3ZdjiFNhmVfqGlljUzjdk-MNKsTxte7MV-zy_4d-nVicpLOc-FMh2eQ2EveK6iKqdxPtnaKoLvBJW0ZtQ2OD4oUcZ-YeMfipWKPr5pRunPeMV4HXyaZ57Y9DWARec7_X53CL4TsNSeB1s88Cr1uCnwEAAP__mbf7Ag">