1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-01-16 15:18:01 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
allcontributors[bot]
a1dd4d708d
docs: add ZeeD26 as a contributor (#519)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-09-30 09:23:35 -04:00
Dominik Steinberger
d3b0b73118
Print input when validation fails (#516)
Co-authored-by: Dominik Steinberger <open-source-libraries@steinberger.io>
2020-09-30 08:57:16 -04:00
3 changed files with 11 additions and 3 deletions

View File

@ -413,6 +413,15 @@
"contributions": [
"code"
]
},
{
"login": "ZeeD26",
"name": "Dominik Steinberger",
"avatar_url": "https://avatars2.githubusercontent.com/u/2487468?v=4",
"profile": "https://github.com/ZeeD26",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,

View File

@ -958,6 +958,7 @@ This project was created by [Henry Schreiner](https://github.com/henryiii) and m
</tr>
<tr>
<td align="center"><a href="https://github.com/jakoblover"><img src="https://avatars0.githubusercontent.com/u/14160441?v=4" width="100px;" alt=""/><br /><sub><b>Jakob Lover</b></sub></a><br /><a href="https://github.com/CLIUtils/CLI11/commits?author=jakoblover" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/ZeeD26"><img src="https://avatars2.githubusercontent.com/u/2487468?v=4" width="100px;" alt=""/><br /><sub><b>Dominik Steinberger</b></sub></a><br /><a href="https://github.com/CLIUtils/CLI11/commits?author=ZeeD26" title="Code">💻</a></td>
</tr>
</table>

View File

@ -746,9 +746,7 @@ class IsMember : public Validator {
}
// If you reach this point, the result was not found
std::string out(" not in ");
out += detail::generate_set(detail::smart_deref(set));
return out;
return input + " not in " + detail::generate_set(detail::smart_deref(set));
};
}