2021-09-08 19:42:18 +00:00
|
|
|
---
|
|
|
|
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 ##
|
|
|
|
|
2021-09-08 19:42:18 +00:00
|
|
|
* [_ACTION](premake_ACTION.md)
|
|
|
|
* [_OPTIONS](premake_OPTIONS.md)
|