add argparse help message

This commit is contained in:
yanyongyu
2021-03-25 18:22:56 +08:00
parent 534b51bc73
commit b861149e0b
4 changed files with 20 additions and 17 deletions

View File

@ -51,7 +51,7 @@ class MatcherMeta(type):
f"temp={self.temp}>")
def __str__(self) -> str:
return self.__repr__()
return repr(self)
class Matcher(metaclass=MatcherMeta):
@ -140,7 +140,7 @@ class Matcher(metaclass=MatcherMeta):
f"priority={self.priority}, temp={self.temp}>")
def __str__(self) -> str:
return self.__repr__()
return repr(self)
@classmethod
def new(cls,