Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document use of double-dash arguments with vapor #689

Open
Jeffrey-de-Bruijn opened this issue Jul 22, 2022 · 1 comment
Open

Document use of double-dash arguments with vapor #689

Jeffrey-de-Bruijn opened this issue Jul 22, 2022 · 1 comment

Comments

@Jeffrey-de-Bruijn
Copy link

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

@0xTim
Copy link
Member

0xTim commented Jul 22, 2022

Where else should this be documented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants