mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 03:32:12 +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:
committed by
Richard Purdie
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'
|
||||
|
||||
Reference in New Issue
Block a user