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

Disable internal command line usage in release #31704

Closed
WiggleWizard opened this issue Aug 27, 2019 · 2 comments
Closed

Disable internal command line usage in release #31704

WiggleWizard opened this issue Aug 27, 2019 · 2 comments

Comments

@WiggleWizard
Copy link
Contributor

I'm currently working on an application that requires command line input. I am struggling a little because Godot will actually error out if you pass an argument to it that doesn't start with a - and is not a valid path to a PackedScene in res:// that it can start up with. I also see this being a small issue with some developers who don't want to give the player the ability to start random scenes up.

It would be nice to remove this from release. For reference you can see this line main/main.cpp#L1339 which does what I mentioned above.

@Calinou
Copy link
Member

Calinou commented Aug 27, 2019

This is related to #8721, which would make it possible for exported projects to handle file paths gracefully without disabling other CLI arguments. See also #20000.

@WiggleWizard
Copy link
Contributor Author

It seems I didn't look properly before making a new ticket. You can mark as duplicate as the latter ticket's latest discussion is what I'm after.

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

4 participants