[#BloombergLP-balcl-CommandLine-printUsage-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLine.adoc[CommandLine]::printUsage :relfileprefix: ../../../ :mrdocs: Print usage to the specified output `errorStream`, describing what the command line should look like. If `errorStream` is not specified, print usage to `stderr`. Optionally specify `programName` to use as the name of the program in the printed usage. If `programName` is not specified and if `parse` has been previously called successfully, use the first element of the `argv` argument; otherwise, use a default name. This method can be invoked at any time, even before `parse` has been invoked on this object. == Synopsis Declared in `<balcl_commandline.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void printUsage() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#