mirror of
https://gitlab.com/Syping/gta5view-cmd
synced 2024-11-21 13:10:23 +01:00
fixing counting mistakes
This commit is contained in:
parent
66bb0afe43
commit
5a7c4422a6
1 changed files with 5 additions and 9 deletions
6
main.cpp
6
main.cpp
|
@ -276,19 +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)
|
||||
{
|
||||
if (args.at(1) == "--help")
|
||||
if (args.length() >= 2 && 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;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue