Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
indent_increment=2,
max_help_position=24,
width=None,
- color=True,
):
# default setting for width
if width is None:
width = shutil.get_terminal_size().columns
width -= 2
- self._set_color(color)
self._prog = prog
self._indent_increment = indent_increment
self._max_help_position = min(max_help_position,
--- /dev/null
+Remove ``color`` parameter from :class:`!argparse.HelpFormatter` constructor. Color is controlled by :class:`~argparse.ArgumentParser`.