def FixedWidthFormatter(formatter, width):
  """Adaptor for argparse formatters using an explicit fixed width
  """
  def f(*args, **keywords):
    # add or replace the "width" parameter
    keywords['width'] = width
    return formatter(*args, **keywords)

  return f