From: Aleksandar Nikolic <[email protected]>

Use the RawTextHelpFormatter formatter to preserve formatting in the
argpars help message.

Signed-off-by: Aleksandar Nikolic <[email protected]>
---
 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'
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#208376): 
https://lists.openembedded.org/g/openembedded-core/message/208376
Mute This Topic: https://lists.openembedded.org/mt/109936807/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to