mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
scripts/install-buildtools: preserve formatting in the help message
Use the RawTextHelpFormatter formatter to preserve formatting in the argpars help message. (From OE-Core rev: ee94d7f99ff3c7e922fdb502fabbda3fd0cd8700) Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
cf2680306d
commit
6074281e43
|
@ -127,7 +127,8 @@ def main():
|
|||
|
||||
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'
|
||||
|
|
Loading…
Reference in New Issue
Block a user