Use the RawTextHelpFormatter formatter to preserve formatting in the
argpars help message.
Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
parser = argparse.ArgumentParser(
description="Buildtools installation helper",
- add_help=False)
+ add_help=False,
+ formatter_class=argparse.RawTextHelpFormatter)
parser.add_argument('-u', '--url',
help='URL from where to fetch buildtools SDK installer, not '
'including filename (optional)\n'