node::ApplyArgsManOptions

Apply block-storage options taken from the argument manager.

Synopsis

Declared in <node/blockmanager_args.h>

[[nodiscard]]
util::Result<void>
ApplyArgsManOptions(
    ArgsManager const& args,
    BlockManager::Options& opts);

Return Value

An empty result on success, or an error describing the invalid option.

NOTE

The return value should not be discarded.

Parameters

NameDescription
argsArgument manager holding the parsed settings.
optsBlock manager options to populate from args.