update beatmap option and help text
This commit is contained in:
parent
8d7b193cf6
commit
79441b46fd
1 changed files with 5 additions and 4 deletions
|
@ -54,7 +54,7 @@ int main(int argc, char *argv[]) {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (std::string(argv[i]) == "-p" || std::string(argv[i]) == "--parse") {
|
||||
if (std::string(argv[i]) == "-b" || std::string(argv[i]) == "--beatmap") {
|
||||
// no more args
|
||||
if (i == (size_t)argc - 1) {
|
||||
std::cerr << "error: no difficulty file passed\n";
|
||||
|
@ -72,9 +72,10 @@ int main(int argc, char *argv[]) {
|
|||
std::cout << PNAME << " [" << VERSION << "]\n";
|
||||
std::cout << "\n";
|
||||
std::cout << "OPTIONS\n";
|
||||
std::cout << "\t-h, --help\t\t\tdisplays this help text\n";
|
||||
std::cout << "\t-o, --osu </path/to/osu>\tpath to osu directory (defaults to ~/.osu/drive_c/osu)\n";
|
||||
std::cout << "\t-s, --skin <skin_name>\t\tskin name\n";
|
||||
std::cout << "\t-h, --help\t\t\t\tdisplays this help text\n";
|
||||
std::cout << "\t-o, --osu </path/to/osu>\t\tpath to osu directory (defaults to ~/.osu/drive_c/osu)\n";
|
||||
std::cout << "\t-s, --skin <skin_name>\t\t\tskin name\n";
|
||||
std::cout << "\t-b, --beatmap </path/to/beatmap>\tplay beatmap\n";
|
||||
std::exit(EXIT_SUCCESS);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue