Closed praiskup closed 2 years ago
The post mentions this is needed:
def parse_args():
+ import argparse
This should be fixed by: 74add0721dda284a212e0a56cb04c33bd191464b
But
- return parser.parse_args()
+ return parser
Can not be avoided. We really need the argparse/optparse object, not the options.
There's a complaint that our testing in-git wrapper script doesn't work, but that has been fixed by f84a41ff4d69cd434f8d281f996527e2ab455067. Nobody should run that script for real.
There's a relation to some output inconsistencies which I'm unable to reproduce.
http://notes.secretsauce.net/notes/2018/10/07_generating-manpages-from-python-and-argparse.html