# RES Accounting Service
# Copyright © 2015 InvestGroup, LLC


import argparse
import inspect
import sys


def get_argument_parser(description):
    return argparse.ArgumentParser(description=description)


def gather_parsers(parser, packages=tuple()):
    packages = (sys.modules[__name__].__package__,) + packages
    for pkg in packages:
        for _, mod in inspect.getmembers(pkg, inspect.ismodule):
            initfn = getattr(mod, "init_argument_parser", None)
            if initfn is not None:
                parser = initfn(parser)
    return parser

@@ -100,16 +100,96 @@
 t sys%0A%0A%0A
+ARGPARSE_DESCRIPTION = %22Change res.core.argument_parser.ARGPARSE_DESCRIPTION!%22%0A%0A
 def get_
@@ -204,27 +204,16 @@
 _parser(
-description
 ):%0A    r
@@ -254,27 +254,36 @@
 ription=
-description
+ARGPARSE_DESCRIPTION
 )%0A%0A%0Adef 
@@ -352,16 +352,28 @@
 modules%5B
+sys.modules%5B
 __name__
@@ -389,21 +389,38 @@
 ge__
+%5D
 ,) + 
+%5C%0A        tuple(
 packages
 %0A   
@@ -415,16 +415,17 @@
 packages
+)
 %0A    for

Change argument parsing