def console_help2rst(cwd, help_cmd, path_to_rst, rst_title,<EOL>format_as_code=False):
generated_time_str =
Extract HELP information from ``<program> -h | --help`` message

**Input**

    * ``$ <program> -h | --help``
    * ``$ cd <cwd> && make help``

**Output**

    * ``docs/src/console_help_xy.rst``