mirror of
https://gitlab.com/Syping/gta5view-cmd
synced 2024-11-23 14:10:23 +01:00
added only_exported_filename for PHP
This commit is contained in:
parent
91d4d68cba
commit
297b888d5a
1 changed files with 16 additions and 2 deletions
18
main.cpp
18
main.cpp
|
@ -323,7 +323,14 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
else
|
||||
{
|
||||
cout << "gta5view-cmd: Converting of " << args.at(1).toStdString().c_str() << " to " << filePath.toStdString().c_str() << " is successful!" << endl;
|
||||
if (flags.value("output", QString()).toLower() == "only_exported_filename")
|
||||
{
|
||||
cout << filePath.toStdString().c_str() << endl;
|
||||
}
|
||||
else
|
||||
{
|
||||
cout << "gta5view-cmd: Converting of " << args.at(1).toStdString().c_str() << " to " << filePath.toStdString().c_str() << " is successful!" << endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -336,7 +343,14 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
else
|
||||
{
|
||||
cout << "gta5view-cmd: Converting of " << args.at(1).toStdString().c_str() << " to " << filePath.toStdString().c_str() << " is successful!" << endl;
|
||||
if (flags.value("output", QString()).toLower() == "only_exported_filename")
|
||||
{
|
||||
cout << filePath.toStdString().c_str() << endl;
|
||||
}
|
||||
else
|
||||
{
|
||||
cout << "gta5view-cmd: Converting of " << args.at(1).toStdString().c_str() << " to " << filePath.toStdString().c_str() << " is successful!" << endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue