Python argparse.RawTextHelpFormatter with line wrap

Viewed 3723

In my argument parsing code I need to use argparse.RawTextHelpFormatter but I would also like to have the lines automatically wrapped at a fixed width in the same way as with the default formatter.

Is there any elegant way how to combine these two behaviors?

1 Answers
Related