mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
add '--stdin-cmd' command line flag
This commit is contained in:
parent
7c0772b5b6
commit
b200d38e48
4 changed files with 10 additions and 2 deletions
|
|
@ -62,6 +62,10 @@ static bool perform_keyword(
|
|||
params.headless = true;
|
||||
return true;
|
||||
}, "", "run in headless mode."),
|
||||
ArgC("--stdin-cmd", [¶ms]() -> bool {
|
||||
params.stdinCommands = true;
|
||||
return true;
|
||||
}, "", "run commands from stdin."),
|
||||
ArgC("--tps", [¶ms, &reader]() -> bool {
|
||||
params.tps = reader.nextInt();
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue