fix help message for wargus tool
This commit is contained in:
parent
9656043865
commit
d8351d93ba
1 changed files with 7 additions and 9 deletions
|
@ -682,15 +682,13 @@ int main(int argc, char * argv[]) {
|
||||||
SetUserDataPath(data_path);
|
SetUserDataPath(data_path);
|
||||||
ExtractData(extractor_path, extractor_args, data_path, scripts_path, 1);
|
ExtractData(extractor_path, extractor_args, data_path, scripts_path, 1);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
} else if (!strcmp(argv[1], "--help") || !strcmp(argv[1], "-h")) {
|
||||||
}
|
printf("Usage: %s [path to extraction file|--extract|--extract-no-gui]\n"
|
||||||
if (argc > 1) {
|
"\tpath to extraction file - will be used as file to start the extraction process on\n"
|
||||||
printf("Usage: %s [path to extraction file|--extract|--extract-no-gui]\n"
|
"\t--extract - force extraction even if data is already extracted\n"
|
||||||
"\tpath to extraction file - will be used as file to start the extraction process on\n"
|
"\t--extract-no-gui - force extraction even if data is already extracted, using the console only for prompts\n\n",
|
||||||
"\t--extract - force extraction even if data is already extracted\n"
|
argv[0]);
|
||||||
"\t--extract-no-gui - force extraction even if data is already extracted, using the console only for prompts\n",
|
}
|
||||||
argv[0]);
|
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( stat(stratagus_bin, &st) != 0 ) {
|
if ( stat(stratagus_bin, &st) != 0 ) {
|
||||||
|
|
Loading…
Reference in a new issue