增强扩展模块

This commit is contained in:
xx
2024-06-16 13:36:54 +08:00
parent 0180ee6f0e
commit 3774badcab
4 changed files with 59 additions and 18 deletions

View File

@@ -22,6 +22,9 @@ If you have any questions, please contact us: 1585346868@qq.com Or visit our web
#include "util/strutils.h"
#include "util/system.h"
#include "slave.h"
#define FASTWEB_VERSION "V1.0.4"
#define QUIT_WAIT std::cout << "Please exit after entering any character...";std::cin.get();return -1
void* start(const char* config_filepath)
@@ -47,6 +50,7 @@ void ouput_help()
int main(int argc, char* argv[])
{
std::cout << "|------------------------[FASTWEB]----------------------------" << std::endl;
std::cout << "| Version:\t"<< FASTWEB_VERSION << std::endl;
std::cout << "| WorkingDirectory:\t"<< strutils::replace(system::current_dir(),'\\','/') << std::endl;
std::cout << "| Args" << std::endl;
for (int i = 0; i < argc; i++)