Python’s argh library: preserve docstring formatting in help message
问题 While searching for faster ways to parse command-line arguments in my scripts I came across the argh library. I really like the features of argh but I’ve encountered one drawback that stops me from using it, and this has to do with the default help message that gets displayed if I’m invoking the —help option: per default the function’s docstring is displayed on top of the arguments list. This is great, however the initial formatting is lost. See, for example, the following example script