added only_exported_filename for PHP

This commit is contained in:
Syping 2018-02-03 02:23:51 +01:00
parent 91d4d68cba
commit 297b888d5a
1 changed files with 16 additions and 2 deletions

View File

@ -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;
}
}
}
}