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

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

== Synopsis

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

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

== Return Value

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

[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&period;
| *opts*
| Block manager options to populate from `args&period;`
|===


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