ArgumentParser epilog and description formatting in conjunction with ArgumentDefaultsHelpFormatter
问题 I'm using argparse to take in command line input and also to produce help text. I want to use ArgumentDefaultsHelpFormatter as the formatter_class , however this prevents me from also using RawDescriptionHelpFormatter which would allow me to add custom formatting to my description or epilog. Is there a sensible method of achieving this aside from writing code to produce text for default values myself? According to the argparse docs, all internals of ArgumentParser are considered