From b8c4b7040e222af1522b31a8739e679dacf87e03 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Wed, 14 Oct 2026 14:19:20 +0000 Subject: update -h message --- tools/driver/main.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/driver/main.cc b/tools/driver/main.cc index 55d666f..56986ec 100644 --- a/tools/driver/main.cc +++ b/tools/driver/main.cc @@ -69,10 +69,16 @@ bool checkLliVersion(llvm::StringRef LliPath) { int main(int argc, char **argv) { for (int I = 1; I < argc; ++I) { if (std::string(argv[I]) == "-h") { + llvm::outs() << "CIE Pseudocode Compiler is licensed under AGPL 3.0 or later. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"; + llvm::outs() << "The source is available here: github.com/ovfor4/cie-pseudocode-compiler\n"; + llvm::outs() << "Please leave a star on GitHub if you find it helpful, so that the project can be more popular\n"; + llvm::outs() << "\n"; + llvm::outs() << "\n"; + #ifdef _WIN32 - llvm::outs() << "See Start Menu > cpsc > cpsc Help for HTML help.\n"; + llvm::outs() << "See \'Start Menu > cpsc > cpsc Help\' for HTML help.\n"; #else - llvm::outs() << "See man 1 cpsc for help.\n"; + llvm::outs() << "See \'man 1 cpsc\' for help.\n"; #endif return 0; } -- cgit v1.3.1-4-g156e