Ensure backward compatibility with remember & noforget (#1566)
Some checks are pending
CodeQL / Analyze (push) Waiting to run
mkdocs / deploy (push) Waiting to run

This commit is contained in:
trapexit 2025-11-05 19:43:57 -06:00 • committed by GitHub
parent 3a7a4a13e7
commit 4aab008233
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 58 additions and 46 deletions

View file

@ -31,11 +31,13 @@ str::from(const std::string_view value_,
bool *bool_)
{
if((value_ == "true") ||
(value_ == "t") ||
(value_ == "1") ||
(value_ == "on") ||
(value_ == "yes"))
*bool_ = true;
ef((value_ == "false") ||
(value_ == "f") ||
(value_ == "0") ||
(value_ == "off") ||
(value_ == "no"))