Print error message to std::cerr.

This commit is contained in:
Matt McCormick 2015-01-19 22:52:04 -05:00
parent 1bfda9484a
commit fa4a5b5c2b

@ -155,7 +155,7 @@ int main( int argc, char** argv )
return EXIT_FAILURE; return EXIT_FAILURE;
break; break;
default: default:
std::cout << "?? getopt returned character code 0 " << c << std::endl; std::cerr << "?? getopt returned character code 0 " << c << std::endl;
return EXIT_FAILURE; return EXIT_FAILURE;
} }
} }