mirror of
https://github.com/haya3218/SDfmL.git
synced 2024-08-14 23:57:09 +00:00
Limit it to verbose cos it kinda makes sense yknow
This commit is contained in:
parent
28cd1e0bfb
commit
033de55ddf
1 changed files with 4 additions and 3 deletions
|
@ -151,11 +151,12 @@ int main(int argc, char* argv[])
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
RedirectIOToConsole();
|
|
||||||
|
|
||||||
parser pa(argc, argv);
|
parser pa(argc, argv);
|
||||||
if (pa[{"-v", "--verbose"}])
|
// Verbose redirects io output to console, if available
|
||||||
|
if (pa[{"-v", "--verbose"}]) {
|
||||||
|
RedirectIOToConsole();
|
||||||
log("", "Verbose mode enabled.", NORMAL, __FILENAME__, __LINE__);
|
log("", "Verbose mode enabled.", NORMAL, __FILENAME__, __LINE__);
|
||||||
|
}
|
||||||
|
|
||||||
SwitchState(&m);
|
SwitchState(&m);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue