Improve an error message
This commit is contained in:
parent
4041993672
commit
8f6c9d7557
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user