The trailing linefeed is now provided by the format_epilog hook (see above in cli.py). When a command was invoked with -h it didn't have a trailing linefeed. The epilog needs to provide it so that optparse print_help() displays correctly.