<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/62816>62816</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
lld produces unintuitive error message for max-page-size with trailing space
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
efriedma-quic
</td>
</tr>
</table>
<pre>
```
$ ld.lld -z "max-page-size=4096 " /tmp/x.o
ld.lld: error: invalid max-page-size: 4096
```
It's hard to understand what's happening here; the fact that there's a trailing space is completely hidden. Maybe putting quotes around the value would help?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcUc2OpDwMfJpwsUAh4ac5cOjRCOk7fA9hiJtkFQiTn-6ZefpVmF7tqqXIseyqspPCEMy6E42sfWPte4EpaudHunlDasPyI5mlmJ36GlnHn4e_M35logGrKmsVlN_AhNjwszxwpTKYb2LyveFDl-vAxBS3g4nps3I_3B8ek1cg753PidnvaI2CF5UrZJnnxJcFzvhfZKIPoNEriA7SrsiHiLuCh8Y_veOg3ewraPLE5BtETXDDJULUmEMuZyRC9GhshoYDFwITYHHbYSmS_QJtlKK9Avgfv2aCI8WYoR_JRQqA3qVdndp3tIng4ZJVoMkeTE6FGqUa5IAFjXV3aVrJ21YWeuxrdWl5O_dSzFJdhhq7tibe4yA6udxUYUbBheRtPYiaD7WsqOtxqRuONfZd1_Ws4bShsZW1961yfi1MCInGTlzqrrA4kw2nvULs9ICzyYTIbvsxc8o5rYE13JoQw1-VaKKlMRt8eKfSQgHSbvaYTDR3-rEONgoBV4Jbzv_1Dh4m6pf_LJK3o47xCExemZiYmFYTdZqrxW1MTHn08yoP737REpmYzoUDE9P5oN8BAAD__2tu3MA">