+
+ def add_arguments(self, parser):
+ parser.add_argument(
+ '-d', '--directory', dest='directory', default='',
+ help='Specify which directory should hold generated PO files')
+ parser.add_argument(
+ '-l', '--load', help='load locales back to source',
+ action='store_true', dest='load', default=False)
+ parser.add_argument(
+ '-L', '--language', help='locales to load',
+ dest='lang', default=None)
+ parser.add_argument(
+ '-n', '--poname', help='name of the po file [no extension]',
+ dest='poname', default=None)
+ parser.add_argument(
+ '-k', '--keep-running', dest='keep_running',
+ help='keep running even when missing an input file',
+ default=False, action='store_true')
+ parser.add_argument('app')