From: Aleksandar Nikolic Date: Thu, 5 Dec 2024 10:51:37 +0000 (+0100) Subject: scripts/install-buildtools: preserve formatting in the help message X-Git-Tag: uninative-4.7~635 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee94d7f99ff3c7e922fdb502fabbda3fd0cd8700;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git scripts/install-buildtools: preserve formatting in the help message Use the RawTextHelpFormatter formatter to preserve formatting in the argpars help message. Signed-off-by: Aleksandar Nikolic Signed-off-by: Richard Purdie --- diff --git a/scripts/install-buildtools b/scripts/install-buildtools index 6387287ade8..4618d6a3ac6 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'