1
0
Fork 0
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:
Syping 2018-02-03 02:23:51 +01:00
parent 91d4d68cba
commit 297b888d5a

View file

@ -323,7 +323,14 @@ int main(int argc, char *argv[])
} }
else 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 else
@ -336,7 +343,14 @@ int main(int argc, char *argv[])
} }
else 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;
}
} }
} }
} }