mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
utils: add an alias (utils.IRCParser.REMAINDER) to argparse.REMAINDER
Reported by @IotaSpencer.
This commit is contained in:
parent
225b0ac8b2
commit
805a0502d2
1
utils.py
1
utils.py
@ -557,6 +557,7 @@ class IRCParser(argparse.ArgumentParser):
|
|||||||
"""
|
"""
|
||||||
Wrapper around argparse.ArgumentParser, without quitting on usage errors.
|
Wrapper around argparse.ArgumentParser, without quitting on usage errors.
|
||||||
"""
|
"""
|
||||||
|
REMAINDER = argparse.REMAINDER
|
||||||
|
|
||||||
def print_help(self, *args, **kwargs):
|
def print_help(self, *args, **kwargs):
|
||||||
# XXX: find a way to somehow route this through IRC
|
# XXX: find a way to somehow route this through IRC
|
||||||
|
Loading…
Reference in New Issue
Block a user