Lines Matching refs:parser
45 parser = argparse.ArgumentParser(description='Yet Another ICU Resource Builder', epilog='ICU tool, http://icu-project.org - master copy at http://source.icu-project.org/repos/icu/tools/trunk/scripts/bldicures.py')
46 parser.add_argument('-f', '--from', action='append', dest='fromdirs', help='read .txt files from this dir', metavar='fromdir', required=True)
47 parser.add_argument('-n', '--name', action='store', help='set the bundle name, such as "myapp"', metavar='bundname', required=True)
48 parser.add_argument('-m', '--mode', action='store', help='pkgdata mode', metavar='mode', default="archive")
49 parser.add_argument('-d', '--dest', action='store', dest='destdir', help='dest dir, default is ".".', default=".", metavar='destdir')
50 parser.add_argument('-e', '--endian', action='store', dest='endian', help='endian, big, little or host, your default is "%s".' % endian, default=endian, metavar='endianness')
51 parser.add_argument('--verbose', '-v', action='count',default=0)
53 args = parser.parse_args()
89 print('# list for "%s" generated by %s on %s' % (args.name,parser.prog, '(now)'), file = listfn)
97 InstalledLocales:table {""" % (parser.prog), file = idxfn)