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;
|
||||
iss >> std::ws >> colorStr;
|
||||
if (iss.fail()) {
|
||||
std::cerr << "Invalid color specification for "
|
||||
std::cerr << "Missing color for "
|
||||
<< long_options[option_index].name
|
||||
<< " '" << optarg << "'" << std::endl;
|
||||
usage();
|
||||
|
Loading…
x
Reference in New Issue
Block a user