[#node-ApplyArgsManOptions-0c]
= xref:node.adoc[node]::ApplyArgsManOptions
:relfileprefix: ../
:mrdocs:

`ApplyArgsManOptions` overloads

== Synopses

Declared in `&lt;node&sol;blockmanager&lowbar;args&period;h&gt;`

Apply block&hyphen;storage options taken from the argument manager&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
xref:util/Result.adoc[util::Result&lt;void&gt;]
xref:node/ApplyArgsManOptions-06.adoc[ApplyArgsManOptions](
    xref:ArgsManager.adoc[ArgsManager] const& args,
    xref:node/BlockManager/Options.adoc[BlockManager::Options]& opts);
----

[.small]#xref:node/ApplyArgsManOptions-06.adoc[_» more&period;&period;&period;_]#

Apply chainstate&hyphen;manager options taken from the argument manager&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
xref:util/Result.adoc[util::Result&lt;void&gt;]
xref:node/ApplyArgsManOptions-0e.adoc[ApplyArgsManOptions](
    xref:ArgsManager.adoc[ArgsManager] const& args,
    xref:ChainstateManager/Options.adoc[ChainstateManager::Options]& opts);
----

[.small]#xref:node/ApplyArgsManOptions-0e.adoc[_» more&period;&period;&period;_]#

Apply peer&hyphen;manager options taken from the argument manager&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:node/ApplyArgsManOptions-08.adoc[ApplyArgsManOptions](
    xref:ArgsManager.adoc[ArgsManager] const& argsman,
    xref:PeerManager/Options.adoc[PeerManager::Options]& options);
----

[.small]#xref:node/ApplyArgsManOptions-08.adoc[_» more&period;&period;&period;_]#

== Return Value

An empty result on success, or an error describing the invalid option&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *args*
| Argument manager holding the parsed settings&period;
| *opts*
| Block manager options to populate from `args&period;`
| *argsman*
| Argument manager holding the parsed settings&period;
| *options*
| Peer manager options to populate from `argsman&period;`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
