Update highlight.cpp
Changed a silly mistake of providing a file name.
This commit is contained in:
parent
13b8d1b894
commit
7b18473f42
|
@ -14,7 +14,7 @@ bool is_keyword(std::string&);
|
|||
int main(int argc, char *argv[])
|
||||
{
|
||||
if (argc < 2) {
|
||||
std::cout << "Usage: ./highlight <file>\n";
|
||||
std::cout << "Usage: ./" << argv[0] << " <file>\n";
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
std::ifstream file(argv[1]);
|
||||
|
|
Loading…
Reference in New Issue