|
@@ -69,7 +69,7 @@ int main(int argc, char* argv[]) { |
|
|
// Parse command line arguments |
|
|
// Parse command line arguments |
|
|
int c; |
|
|
int c; |
|
|
opterr = 0; |
|
|
opterr = 0; |
|
|
while ((c = getopt(argc, argv, "dhp:s:u:")) != -1) { |
|
|
|
|
|
|
|
|
while ((c = getopt(argc, argv, "dht:s:u:")) != -1) { |
|
|
switch (c) { |
|
|
switch (c) { |
|
|
case 'd': { |
|
|
case 'd': { |
|
|
settings::devMode = true; |
|
|
settings::devMode = true; |
|
@@ -77,7 +77,6 @@ int main(int argc, char* argv[]) { |
|
|
case 'h': { |
|
|
case 'h': { |
|
|
settings::headless = true; |
|
|
settings::headless = true; |
|
|
} break; |
|
|
} break; |
|
|
// Due to Mac app translocation and Apple adding a -psn... flag when launched, disable screenshots on Mac for now. |
|
|
|
|
|
case 't': { |
|
|
case 't': { |
|
|
screenshot = true; |
|
|
screenshot = true; |
|
|
// If parsing number failed, use default value |
|
|
// If parsing number failed, use default value |
|
|