mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 17:49:10 +00:00
feat(Tools): Automatically create directories for tools (#11540)
* . * .
This commit is contained in:
committed by
GitHub
parent
b7be09e96c
commit
ad8f8ee5a5
@@ -22,14 +22,21 @@
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
if (argc != 3)
|
||||
std::string src = "Buildings";
|
||||
std::string dest = "vmaps";
|
||||
|
||||
if (argc > 3)
|
||||
{
|
||||
std::cout << "usage: " << argv[0] << " <raw data dir> <vmap dest dir>" << std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
std::string src = argv[1];
|
||||
std::string dest = argv[2];
|
||||
else
|
||||
{
|
||||
if (argc > 1)
|
||||
src = argv[1];
|
||||
if (argc > 2)
|
||||
dest = argv[2];
|
||||
}
|
||||
|
||||
std::cout << "using " << src << " as source directory and writing output to " << dest << std::endl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user