diff options
| author | Nagi5Yeq <wu@x-nagi.com> | 2020-06-01 02:15:40 +0800 |
|---|---|---|
| committer | Nagi5Yeq <wu@x-nagi.com> | 2020-06-01 02:15:40 +0800 |
| commit | f3729aee72a60578738f0c2fddcca2831019f546 (patch) | |
| tree | 88eb9af84f43407fa5931746281827e2d9263cc7 /Version.cc | |
| parent | 9de9ac16960a1ac2c0ab967013f2ec6847b7bc21 (diff) | |
add a sha1 test, commandline improvement, limit target to x86 only
Diffstat (limited to 'Version.cc')
| -rw-r--r-- | Version.cc | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -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); } |
