Message322811
You would need to use the RawTextHelpFormatter as format_class for the constructor. In this case, argparse will apply no re-wrapping of the description.
import argparse
parser = argparse.ArgumentParser(description="""foo
bar
baz""", formatter_class=argparse.RawTextHelpFormatter) |
|
Date |
User |
Action |
Args |
2018-07-31 19:43:52 | csernazs | set | recipients:
+ csernazs, Phillip.M.Feldman@gmail.com |
2018-07-31 19:43:52 | csernazs | set | messageid: <1533066232.3.0.56676864532.issue34299@psf.upfronthosting.co.za> |
2018-07-31 19:43:52 | csernazs | link | issue34299 messages |
2018-07-31 19:43:52 | csernazs | create | |
|