BloombergLP::balb::ControlManager::registerUsageHandler

Register a handler that, on receipt of a (case-insensitive) "HELP" message, prints to the specified stream a list of this ControlManagers 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>

int
registerUsageHandler(std::ostream& stream);