Fixed some small unnecessary additions
This commit is contained in:
parent
fb4da7a214
commit
13b8d1b894
|
@ -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]);
|
||||||
|
|
Loading…
Reference in New Issue