@staticmethod
    def get_CLI_options(do_parse=True,DEBUG=False):
        # Ref: ArgParse doc - https://docs.python.org/dev/library/argparse.html
        # parse and get CLI options. Set do_parse = False for testing
        parser = argparse.ArgumentParser()
        parser.add_argument("-files",default='',nargs='*')
        parser.add_argument("-dialects",default=[u'std'],nargs='*',choices=(u'std',u'ceylon',u'kovai',u'nellai',u'chennai'))
        parser.add_argument("-Dictionary",default=[u'std'],nargs='*',choices=(u'std',u'wikipedia',u'madurai'))
        parser.add_argument("-nalt",default=10,type=int,help=u"number of alternative suggestions for wrong type") 
        parser.add_argument("-debug",default=False,help="enable debugging information on screen")
        parser.add_argument("-stdin",default=False,const=True,nargs='?',help="read input from the standard input")
        parser.add_argument("-auto",default=False,const=True,nargs='?',help="write output as suitable for testing")
        parser.add_argument("-help",default=False,const=True,nargs='?',help="show help and exit")
        if do_parse:
            args = parser.parse_args()
        else:
            args = None
        
        if DEBUG:
            print(u"files = %s"%u"|".join(args.files))
            print(u"help = %s"%str(args.help))
            print(u"dialects = %s"%u"|".join(args.dialects))
            print(u"Dictionary = %s"%u"|".join(args.Dictionary))
            print(u"nalt = %d"%args.nalt)
            print(str(args.stdin)%u"IN = %s")
        return args,parser
dataset/ETHPy150Open Ezhil-Language-Foundation/open-tamil/solthiruthi/solthiruthi.py/Solthiruthi.get_CLI_options/swapped operands of `%`