The help parameter is intended as a plain English description of what is expected of this parameter. See example in the argparse documentation:
It's not really an error. By the way, argparse will generate error messages and usage messages automatically for you, so you can rely on those features.
Additionally, if the variable has a string, no need to format it, you can refer to it directly in the parameters sent to argparse:
https://github.com/DDMAL/MEI2Volpiano/blob/b785992972d896d8d63a328b85ebdbca961dc1a7/mei2volpiano.py#L100
The
help
parameter is intended as a plain English description of what is expected of this parameter. See example in the argparse documentation:It's not really an error. By the way,
argparse
will generate error messages andusage
messages automatically for you, so you can rely on those features.Additionally, if the variable has a string, no need to format it, you can refer to it directly in the parameters sent to argparse:
In short:
error
is misleading. This is/should be a description.