summaryrefslogtreecommitdiff
path: root/Version.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Version.cc')
-rw-r--r--Version.cc26
1 files changed, 15 insertions, 11 deletions
diff --git a/Version.cc b/Version.cc
index 9fd924d..bb0007d 100644
--- a/Version.cc
+++ b/Version.cc
@@ -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);
}