diff options
author | Juan Linietsky <reduzio@gmail.com> | 2022-07-29 15:30:52 +0200 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2022-08-01 00:56:59 +0200 |
commit | 0dd65378e7594e8916474613116d8df485870710 (patch) | |
tree | ba77e856d19325ab1be79c19e18c4650e70de249 /misc | |
parent | 6d599ed90b396c264486512d5903c209ce729c76 (diff) |
Add support for command-line user arguments.
Implements the standard Unix double dash (--) commandline argument:
* Arguments after a double dash (--) are ignored by Godot and stored for the user.
* User can access them via `OS.get_cmdline_user_args()`
Example:
`godot.exe scene_to_run.tscn --fullscreen -- --start-level 2`
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions