From 805a0502d2acabc38f2cf0070bbfbaff1d1bd23b Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 8 Mar 2017 10:01:11 -0800 Subject: [PATCH] utils: add an alias (utils.IRCParser.REMAINDER) to argparse.REMAINDER Reported by @IotaSpencer. --- utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils.py b/utils.py index 9ac899b..19a8e11 100644 --- a/utils.py +++ b/utils.py @@ -557,6 +557,7 @@ class IRCParser(argparse.ArgumentParser): """ Wrapper around argparse.ArgumentParser, without quitting on usage errors. """ + REMAINDER = argparse.REMAINDER def print_help(self, *args, **kwargs): # XXX: find a way to somehow route this through IRC