mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Ensure backward compatibility with remember & noforget (#1566)
This commit is contained in:
parent
3a7a4a13e7
commit
4aab008233
4 changed files with 58 additions and 46 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue