reimplement the help and debug messages

master
ieee 802.11ac 2 years ago
parent 01c0e49de4
commit b55c086c2f

@ -37,5 +37,14 @@ int main(int argc, char **argv)
}
}
}
std::cout << "debug: " << debug << " help: " << help << std::endl;
if (help) {
std::cout << "this is a factorio clone. we don't have a working name for it yet, but dragon lord suggested \"beurocra-tech\"" << std::endl;
std::cout << "usage: " << filename << " -dh <*.json>" << std::endl;
return 1;
}
if (debug) {
std::cout << "filename: " << filename << " default path: " << defaultPath << std::endl;
}
return 0;
}

Loading…
Cancel
Save