3
0
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:
James Lu 2017-03-08 10:01:11 -08:00
parent 225b0ac8b2
commit 805a0502d2

View File

@ -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