I want to parse a parameter like:
command --ethX
Where X is a number starting from 0. Is that possible directly with ArgParse ? As it seems not, is there a way to ask ArgParse to let the programmer deals with this parameter, but keeping the parameter like ethX when printing help ?
If not, is there any parser alternative in python which can do this ?
It is not possible to do this with
ArgParseas it cannot separate real parameter and associated description, I’ve switched togetopt.