bdk: fix help text bugs.
Fixes two bugs with --help text:
1. Subcommand groups were printing entire docstrings for each
subcommand, when instead we just want the first line summary. For
example, before this CL:
$ bdk root -h
...
positional arguments:
{adb,init,fastboot,sync,flash}
adb <description>
...
sync <description>
<more sync description>
<huge amounts of sync description>
flash <description>
...
2. Help text formatting was being clobbered by argparse, which is the
default behavior. It makes more sense to keep any paragraphs and custom
formatting that's in the command docstrings.
Bug: 27872123
Change-Id: I51770fc60881bf6d63099301d13c69090158dcf0
Test: python test_runner.py
Test: bdk2 -h
Test: bdk2 root -h
Test: bdk2 root sync -h
1 file changed