From 6074281e43f57aa4654eed311559a73b65a94a45 Mon Sep 17 00:00:00 2001 From: Aleksandar Nikolic Date: Thu, 5 Dec 2024 11:51:37 +0100 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- scripts/install-buildtools | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install-buildtools b/scripts/install-buildtools index 6387287ade..4618d6a3ac 100755 --- a/scripts/install-buildtools +++ b/scripts/install-buildtools @@ -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'