TeX-Live / texdoc

Find and view documentation in TeX Live
https://tug.org/texdoc/
GNU General Public License v3.0
47 stars 8 forks source link

erroneous option syntax -= gives lua error #110

Closed kberry closed 9 months ago

kberry commented 1 year ago

I accidentally typed texdoc -= and got back a Lua error:

.../karl/Master/texmf-dist/scripts/texdoc/texdoclib-cli.tlu:112: attempt to index a nil value (local 'option') 

Clearly not a big deal but in principle it would be better to give an actual error message.