Default case added --> Invalid arguments message #16

This commit is contained in:
2017-05-07 14:47:54 +02:00
parent 4b0c611a60
commit 988b71bf8b

View File

@@ -66,7 +66,10 @@ int main(int argc, char **argv) {
gs->trollEnabled = 1;
break;
default:
mvprintw(gs->centery, gs->centerx - 9, "Invalid arguments.");
getch();
showHelp(gs);
exit(0);
break;
}
}