diff --git a/lint/peglint.cc b/lint/peglint.cc index e3cd3a7..084e580 100644 --- a/lint/peglint.cc +++ b/lint/peglint.cc @@ -85,7 +85,7 @@ int main(int argc, const char** argv) } // Check source - std::string source_path = "[commendline]"; + std::string source_path = "[commandline]"; if (path_list.size() >= 2) { if (!read_file(path_list[1], source)) { cerr << "can't open the code file." << endl;