summaryrefslogtreecommitdiff
path: root/Version.cc
diff options
context:
space:
mode:
authorNagi5Yeq <wu@x-nagi.com>2020-06-01 02:15:40 +0800
committerNagi5Yeq <wu@x-nagi.com>2020-06-01 02:15:40 +0800
commitf3729aee72a60578738f0c2fddcca2831019f546 (patch)
tree88eb9af84f43407fa5931746281827e2d9263cc7 /Version.cc
parent9de9ac16960a1ac2c0ab967013f2ec6847b7bc21 (diff)
add a sha1 test, commandline improvement, limit target to x86 only
Diffstat (limited to 'Version.cc')
-rw-r--r--Version.cc15
1 files changed, 9 insertions, 6 deletions
diff --git a/Version.cc b/Version.cc
index 02e30e2..7bc9532 100644
--- a/Version.cc
+++ b/Version.cc
@@ -25,12 +25,15 @@ PCC_NORETURN void ShowVersion() {
PCC_NORETURN void ShowHelp() {
std::cerr << PCC_NAME " version " PCC_VERSION_STRING "\n"
- << "Usage: " PCC_NAME " [-vVh] file...\n"
- << " -v Verbose mode.\n"
- " -vv Very verbose mode.\n"
- " -V Show version and exit.\n"
- " -h Show this help and exit.\n"
- " -t Set target's triple."
+ << "Usage: " PCC_NAME " [-vVhiSc] file...\n"
+ << " -v Verbose mode.\n"
+ << " -vv Very verbose mode.\n"
+ << " -V Show version and exit.\n"
+ << " -h Show this help and exit.\n"
+ << " -i Generate LLVM IR (default behavior).\n"
+ << " -S Compile to assembly.\n"
+ << " -c Compile to object file.\n"
+ << " -o <file> Specify output file name."
<< std::endl;
std::exit(0);
}