I am using argparse to parse input arguments. One of the required ones are files, but I want to change the error message:
x.py: error: the following arguments are required: files
to something else. How to do that? I get how you change message if an optional flag is not supplied, but it does not work for mandatory arguments.
I would also like to change this message:
usage: x.py [-h] files [files ...]
Cheers!