[#BloombergLP-balcl-CommandLine-operator_assign] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLine.adoc[CommandLine]::operator= :relfileprefix: ../../../ :mrdocs: Assign to this command‐line object the value of the specified `rhs` command‐line object and return a reference providing modifiable access to this object. The behavior is undefined unless both `rhs` and this object are valid (i.e., `isValid()` and `rhs.isValid()` both return `true`). == Synopsis Declared in `<balcl_commandline.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balcl/CommandLine.adoc[CommandLine]& operator=(xref:BloombergLP/balcl/CommandLine.adoc[CommandLine] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#