mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-27 16:21:28 +00:00
Add lots of comments and logs
This commit is contained in:
@ -8,6 +8,11 @@ class ParserExit(RuntimeError):
|
||||
|
||||
|
||||
class ArgumentParser(ArgumentParser):
|
||||
"""
|
||||
An ArgumentParser wrapper that avoid printing messages to
|
||||
standard I/O.
|
||||
"""
|
||||
|
||||
def _print_message(self, *args, **kwargs):
|
||||
# do nothing
|
||||
pass
|
||||
|
Reference in New Issue
Block a user