support any number of --append=<file> options
If one or more append files are given on the command line, they are simply concatenated. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
785bc3d04b
commit
00ead7fb2e
|
@ -121,7 +121,6 @@ bool Settings::isEnabled(const std::string &str) const
|
||||||
|
|
||||||
bool Settings::append(const std::string &filename)
|
bool Settings::append(const std::string &filename)
|
||||||
{
|
{
|
||||||
_append = "\n";
|
|
||||||
std::ifstream fin(filename.c_str());
|
std::ifstream fin(filename.c_str());
|
||||||
if (!fin.is_open()) {
|
if (!fin.is_open()) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue