Commit 926a55c5 authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Merge pull request #557

Fix reset of flags in config file
parents 798f9b8a a565bfba
...@@ -324,7 +324,7 @@ message::cli_arg::cli_arg(std::string nstr, std::string tstr, bool& arg) ...@@ -324,7 +324,7 @@ message::cli_arg::cli_arg(std::string nstr, std::string tstr, bool& arg)
: name(std::move(nstr)), : name(std::move(nstr)),
text(std::move(tstr)), text(std::move(tstr)),
flag(&arg) { flag(&arg) {
arg = false; // nop
} }
message::cli_arg::cli_arg(std::string nstr, std::string tstr, consumer f) message::cli_arg::cli_arg(std::string nstr, std::string tstr, consumer f)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment