Browse Source

Fix screenshot flag -t

tags/v1.1.6
Andrew Belt 4 years ago
parent
commit
96e623bb70
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/main.cpp

+ 1
- 2
src/main.cpp View File

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


Loading…
Cancel
Save