Print error message to std::cerr.
This commit is contained in:
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user