[#BloombergLP-balcl-CommandLine-2constructor-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLine.adoc[CommandLine]::CommandLine :relfileprefix: ../../../ :mrdocs: Create a command‐line object having the value of the specified `original` command line, if the `original` is parsed, and otherwise having a state such that parsing command‐line arguments results in the same value as parsing the same command‐line arguments with the `original`. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. The behavior is undefined unless `original` is valid (i.e., `original.isValid()` returns `true`). == Synopsis Declared in `<balcl_commandline.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- CommandLine( xref:BloombergLP/balcl/CommandLine.adoc[CommandLine] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#