[#node-ApplyArgsManOptions-0e] = xref:node.adoc[node]::ApplyArgsManOptions :relfileprefix: ../ :mrdocs: Apply chainstate‐manager options taken from the argument manager. == Synopsis Declared in `<node/chainstatemanager_args.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] xref:util/Result.adoc[util::Result<void>] ApplyArgsManOptions( xref:ArgsManager.adoc[ArgsManager] const& args, xref:ChainstateManager/Options.adoc[ChainstateManager::Options]& opts); ---- == Return Value An empty result on success, or an error describing the invalid option. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *args* | Argument manager holding the parsed settings. | *opts* | Chainstate manager options to populate from `args.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#