fix same as last now more precise

This commit is contained in:
Syping 2018-02-01 02:14:37 +01:00
parent dd6d9ebc73
commit 66bb0afe43
1 changed files with 8 additions and 5 deletions

View File

@ -276,12 +276,15 @@ int main(int argc, char *argv[])
{
cout << "gta5view Command Line" << endl << endl;
cout << "Usage: " << args.at(0).toStdString().c_str() << " source target -format -mode" << endl;
if (args.length() >= 1 && args.at(1) == "--help")
if (args.length() >= 1)
{
cout << "Convert-only: <autodef> (auto file name at convert)" << endl;
cout << "Convert-only: <autoext> (auto file extension at convert)" << endl;
cout << "Formats: jpg pgta g5e" << endl;
cout << "Modes: a p d aiar akar piar pkar diar dkar" << endl;
if (args.at(1) == "--help")
{
cout << "Convert-only: <autodef> (auto file name at convert)" << endl;
cout << "Convert-only: <autoext> (auto file extension at convert)" << endl;
cout << "Formats: jpg pgta g5e" << endl;
cout << "Modes: a p d aiar akar piar pkar diar dkar" << endl;
}
}
return 255;
}