[#BloombergLP-balb-ControlManager-registerUsageHandler] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/ControlManager.adoc[ControlManager]::registerUsageHandler :relfileprefix: ../../../ :mrdocs: Register a handler that, on receipt of a (case‐insensitive) "HELP" message, prints to the specified stream a list of this `ControlManager`s registered commands and their documentation. Return a positive value if an existing callback was replaced, return 0 if no replacement occurred, and return a negative value otherwise. == Synopsis Declared in `<balb_controlmanager.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int registerUsageHandler(std::ostream& stream); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#