summaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
authorNagi5Yeq <wu@x-nagi.com>2020-06-01 15:35:07 +0800
committerNagi5Yeq <wu@x-nagi.com>2020-06-01 15:35:07 +0800
commitf90115fba35887aea8d4064b57f4909cd6937134 (patch)
tree026130ea8c58e5f3ae2e65769d87d2c69b76acb0 /main.cc
parent31d35de96576d2cddc134cdd0646ce4966052ae3 (diff)
color support
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cc b/main.cc
index a010bc4..54255bf 100644
--- a/main.cc
+++ b/main.cc
@@ -57,7 +57,7 @@ int main(int argc, char* argv[]) {
}
break;
default:
- pcc::Log(pcc::PCC_ERROR, "Unknown option");
+ pcc::Log(pcc::PCC_ERROR, "unknown option");
pcc::ShowHelp();
}
}
@@ -88,7 +88,7 @@ int main(int argc, char* argv[]) {
llvm::DataLayout layout = machine->createDataLayout();
if (optind >= argc) {
- pcc::Log(pcc::PCC_ERROR, "No input file specified");
+ pcc::Log(pcc::PCC_ERROR, "no input file specified");
return -1;
}
if (!OutputFileName.empty() && optind != argc - 1) {