Fixed some small unnecessary additions

This commit is contained in:
Isak 2018-04-15 00:46:02 +02:00 committed by GitHub
parent fb4da7a214
commit 13b8d1b894
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* Highlights reserved programming keywords*/ /* Highlights reserved keywords*/
#include <iostream> #include <iostream>
#include <string> #include <string>
#include <sstream> #include <sstream>
@ -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: ./" << __FILE__ << " <file>\n"; std::cout << "Usage: ./highlight <file>\n";
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
std::ifstream file(argv[1]); std::ifstream file(argv[1]);