docs icon indicating copy to clipboard operation
docs copied to clipboard

Document use of double-dash arguments with vapor

Open Jeffrey-de-Bruijn opened this issue 3 years ago • 2 comments

vapor run serve --hostname=0.0.0.0 --port=29200
vapor run serve --bind=0.0.0.0:29200

Give "Input not recognized" error. Vapor expects

vapor run serve --hostname 0.0.0.0 --port 29200
vapor run serve --bind 0.0.0.0:29200

This flag syntax does not conform to the GNU convention which is expected in GNU/Linux.

Because the syntax cannot be changed, it should be documented in the documentation whenever double-dash arguments are available, such as here

Jeffrey-de-Bruijn avatar Jul 22 '22 11:07 Jeffrey-de-Bruijn

Where else should this be documented?

0xTim avatar Jul 22 '22 13:07 0xTim