Backport wscript: fix text for help
Summary
In order to update to waf-2.1.4, we need to backport the fix for
$ ./waf --help
Traceback (most recent call last):
File "/mnt/devel/rtems/rtems-deployment/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Scripting.py", line 122, in waf_entry_point
run_commands()
File "/mnt/devel/rtems/rtems-deployment/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Scripting.py", line 181, in run_commands
parse_options()
File "/mnt/devel/rtems/rtems-deployment/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Scripting.py", line 168, in parse_options
ctx.parser.print_help()
File "/usr/lib/python3.10/argparse.py", line 2579, in print_help
self._print_message(self.format_help(), file)
File "/mnt/devel/rtems/rtems-deployment/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Options.py", line 19, in format_help
return super(ArgParser,self).format_help()
File "/usr/lib/python3.10/argparse.py", line 2563, in format_help
return formatter.format_help()
File "/usr/lib/python3.10/argparse.py", line 295, in format_help
help = self._root_section.format_help()
File "/usr/lib/python3.10/argparse.py", line 226, in format_help
item_help = join([func(*args) for func, args in self.items])
File "/usr/lib/python3.10/argparse.py", line 226, in <listcomp>
item_help = join([func(*args) for func, args in self.items])
File "/usr/lib/python3.10/argparse.py", line 226, in format_help
item_help = join([func(*args) for func, args in self.items])
File "/usr/lib/python3.10/argparse.py", line 226, in <listcomp>
item_help = join([func(*args) for func, args in self.items])
File "/usr/lib/python3.10/argparse.py", line 552, in _format_action
help_text = self._expand_help(action)
File "/usr/lib/python3.10/argparse.py", line 649, in _expand_help
return self._get_help_string(action) % params
TypeError: %d format: a real number is required, not dict