Hi pieman,
Where did you find that '--convert' option? LibreCAD does not have one. LibreCAD can convert a drawing to pdf file from cli, but only in dxf (not dwg) format. If you can convert your dwg to dxf first then you can use LibreCAD's dxf2pdf tool. Its help is available by running
./librecad dxf2pdf --help
But if you need to run it on server where X is not running, may be this link can help you:
LibreCAD_dxf2pdf_standalone