diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-14 14:19:20 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-14 14:19:20 +0000 |
| commit | b8c4b7040e222af1522b31a8739e679dacf87e03 (patch) | |
| tree | 1fdd6dc6bdf4a9128ea4be62df28433a93daa471 /tools/driver | |
| parent | 349027988e0b654f77b63d69f1bbd44e4899eb10 (diff) | |
update -h message
Diffstat (limited to 'tools/driver')
| -rw-r--r-- | tools/driver/main.cc | 10 |
1 files 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; } |
