only accept lower case to be consistent with the rest of the input

This commit is contained in:
Axel Kohlmeyer
2021-09-21 14:18:23 -04:00
parent 6227396afd
commit c3d34e8656
2 changed files with 2 additions and 3 deletions

View File

@ -159,8 +159,8 @@ namespace utils {
LAMMPS *lmp);
/*! Convert a string to a boolean while checking whether it is a valid boolean term.
* Valid terms are 'yes', 'no', 'true', 'false', 'on', 'off', '1', '0'. Capitalization
* will be ignored (thus 'yEs' or 'nO' are valid, 'yeah' or 'nope' are not).
* Valid terms are 'yes', 'no', 'true', 'false', 'on', 'off', and '1', '0'. Only
* lower case is accepted.
*
* \param file name of source file for error message
* \param line line number in source file for error message