Improve an error message

This commit is contained in:
Rogier 2016-01-05 11:36:56 +01:00
parent 4041993672
commit 8f6c9d7557

View File

@ -1248,7 +1248,7 @@ int main(int argc, char *argv[])
string colorStr; string colorStr;
iss >> std::ws >> colorStr; iss >> std::ws >> colorStr;
if (iss.fail()) { if (iss.fail()) {
std::cerr << "Invalid color specification for " std::cerr << "Missing color for "
<< long_options[option_index].name << long_options[option_index].name
<< " '" << optarg << "'" << std::endl; << " '" << optarg << "'" << std::endl;
usage(); usage();