Write settings file or backup settings file. Push errors to vector, or log them if null.

Synopsis

Declared in <common/args.h>

[[requires_capability(0x7f2e381af028)]]
bool
WriteSettingsFile(
    std::vector<std::string>* errors = nullptr,
    bool backup = false) const;

Return Value

true if the settings file was written successfully.

Parameters

Name

Description

errors

If non‐null, populated with any write errors.

backup

Write the backup settings file instead of the main one.

Created with MrDocs