premake/website/docs/premake_ARGS.md

22 lines
441 B
Markdown
Raw Normal View History

---
id: _ARGS
---
2021-03-11 20:29:22 +00:00
The `_ARGS` global variable stores any arguments to the current action. As an example, if this command line was used to launch Premake:
```
$ premake5 vs2012 alpha beta
```
...then `_ARGS[1]` will be set to "alpha" and `_ARGS[2]` to "beta". If there are no arguments this array will be empty.
### Availability ###
Premake 4.0 or later.
## See Also ##
* [_ACTION](premake_ACTION.md)
* [_OPTIONS](premake_OPTIONS.md)