diff options
| author | Nagi5Yeq <wu@x-nagi.com> | 2020-06-03 02:36:05 +0800 |
|---|---|---|
| committer | Nagi5Yeq <wu@x-nagi.com> | 2020-06-03 02:36:05 +0800 |
| commit | 2d6ab4b7f207a746a7caaa93466b410cbe328626 (patch) | |
| tree | 570a2d7776e616309149adf065acc474c0c0de98 /Version.cc | |
| parent | cd1466f30c146e12faa0db7e1b53b508bf2274c6 (diff) | |
support for short, int64 and AST dump
Diffstat (limited to 'Version.cc')
| -rw-r--r-- | Version.cc | 26 |
1 files changed, 15 insertions, 11 deletions
@@ -27,17 +27,21 @@ PCC_NORETURN void ShowVersion() { PCC_NORETURN void ShowHelp() { std::cerr << PCC_NAME " version " PCC_VERSION_STRING "\n" << "Usage: " << GetExecutableName() - << " [-vVhiSc] [-O <0,1,2,3>] [-o <output>] file...\n" - << " -v Verbose mode.\n" - << " -vv Very verbose mode.\n" - << " -V Show version and exit.\n" - << " -h Show this help and exit.\n" - << "\n" - << " -i Generate LLVM IR (default behavior).\n" - << " -S Compile to assembly file.\n" - << " -c Compile to object file.\n" - << " -o <output> Specify output file name.\n" - << " -O <0,1,2,3> Specify optimization level." << std::endl; + << " [-vVhiSc] [-O <0,1,2,3>] [-o <output>] " + "file...\n" + " -v Verbose mode.\n" + " -vv Very verbose mode.\n" + " -V Show version and exit.\n" + " -h Show this help and exit.\n" + "\n" + " -i Generate LLVM IR (default behavior).\n" + " -S Compile to assembly file.\n" + " -c Compile to object file.\n" + " -o <output> Specify output file name.\n" + " -O <0,1,2,3> Specify optimization level.\n" + "\n" + " -a Also dump the AST." + << std::endl; std::exit(0); } |
