[#BloombergLP-balcl-Option-2constructor-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/Option.adoc[Option]::Option :relfileprefix: ../../../ :mrdocs: Create a command‐line option from the specified `optionInfo`. == Synopsis Declared in `<balcl_option.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit Option( xref:BloombergLP/balcl/OptionInfo.adoc[OptionInfo] const& optionInfo, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- == Description Create a command‐line option containing the value of the specified `optionInfo`. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. == Parameters [cols="1,4"] |=== | Name| Description | *optionInfo* | option descriptor providing the value | *basicAllocator* | memory allocator; null uses the default |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#