scripts/install-buildtools: preserve formatting in the help message
PATCH 1/1 scripts/install-buildtools: preserve formatting in the help message
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(-)
scripts/install-buildtools +2 -1
@@ -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'
Signature · 1 line
2.25.1