CLI improvements

This commit is contained in:
IvanDSM 2020-05-19 21:22:05 -03:00
parent c57bacdfd7
commit fb706c42f6
1 changed files with 7 additions and 3 deletions

View File

@ -13,10 +13,11 @@ struct PCCLIOptions gCLIOpts;
static void print_help(void) {
printf("Super Mario 64 PC Port\n");
printf("%-20s\tSkips the Peach and Castle intro when starting a new game.\n", "--skip-intro");
printf("%-20s\tStarts the game in full screen mode.\n", "--fullscreen");
printf("%-20s\tStarts the game in windowed mode.\n", "--windowed");
printf("%-20s\tEnables the cheat menu.\n", "--cheats");
printf("%-20s\tSaves the configuration file as CONFIGNAME.\n", "--configfile CONFIGNAME");
printf("%-20s\tStarts the game in full screen mode.\n", "--fullscreen");
printf("%-20s\tSkips the Peach and Castle intro when starting a new game.\n", "--skip-intro");
printf("%-20s\tStarts the game in windowed mode.\n", "--windowed");
}
void parse_cli_opts(int argc, char* argv[]) {
@ -53,6 +54,9 @@ void parse_cli_opts(int argc, char* argv[]) {
gCLIOpts.ConfigFile[arglen] = '\0';
}
}
// Skip the next string since it's the configuration file name.
i++;
}
}
}