Update highlight.cpp

Changed a silly mistake of providing a file name.
This commit is contained in:
Isak 2018-05-05 21:30:22 +02:00 committed by GitHub
parent 13b8d1b894
commit 7b18473f42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ bool is_keyword(std::string&);
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
if (argc < 2) { if (argc < 2) {
std::cout << "Usage: ./highlight <file>\n"; std::cout << "Usage: ./" << argv[0] << " <file>\n";
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
std::ifstream file(argv[1]); std::ifstream file(argv[1]);