some-update

This commit is contained in:
codeboss 2024-06-05 08:27:34 +08:00
parent e07354c527
commit 221c3757b1
1 changed files with 7 additions and 2 deletions

View File

@ -29,13 +29,18 @@ std::function<void(std::shared_ptr<const ast_gen::ElementAccess>, int)> tnode_pr
tnode_print(c_n, intend + 1);
}
};
/*
* nsc --help
* nsc [opts] --path path-to-dir
* opts:
* -p print-struct
*/
int main(int argc, char* argv[]) {
QCoreApplication a(argc, argv);
if (argc != 3 || strcmp(argv[1], "-path")) {
std::cout << "nsc(WsNovelStoryCompiler故事线编译器)" << std::endl;
std::cout << "版本V1.00" << std::endl;
std::cout << "版本V1.0.0" << std::endl;
std::cout << "nsc -path path-to-dir" << std::endl;
exit(0);
}