parser.add_argument('-d','--directory',dest="directory",default='',help="if given, this path will be prepended to every entry returned (defaults to '%(default)s')")
parser.add_argument('-d','--directory',dest="directory",default='',help="if given, this path will be prepended to every entry returned (defaults to '%(default)s')")
parser.add_argument('-e','--extension',dest="extension",default='',help="if given, this extension will be appended to every entry returned (defaults to '%(default)s')")
parser.add_argument('-e','--extension',dest="extension",default='',help="if given, this extension will be appended to every entry returned (defaults to '%(default)s')")
parser.add_argument('-p','--protocol',dest="protocol",default='',help="if given, limits the dump to a particular subset of the data that corresponds to the given protocol (defaults to '%(default)s')",choices=db.protocol_names())
parser.add_argument('-p','--protocol',dest="protocol",default='',help="if given, limits the dump to a particular subset of the data that corresponds to the given protocol (defaults to '%(default)s')",choices=db.protocol_names())
parser.add_argument('-u','--purposes',dest="purposes",default='',help="if given, this value will limit the output files to those designed for the given purposes. (defaults to '%(default)s')",choices=db.purposes())
parser.add_argument('-u','--purposes',dest="purposes",default='',help="if given, this value will limit the output files to those designed for the given purposes. (defaults to '%(default)s')",choices=db.purposes())
# TODO: model_ids
parser.add_argument('-C','--client',dest="client",default=None,type=int,help="if given, limits the dump to a particular client (defaults to '%(default)s')",choices=clients)
parser.add_argument('-g','--groups',dest="groups",default='',help="if given, this value will limit the output files to those belonging to a particular protocolar group. (defaults to '%(default)s')",choices=db.groups())
parser.add_argument('-g','--groups',dest="groups",default='',help="if given, this value will limit the output files to those belonging to a particular protocolar group. (defaults to '%(default)s')",choices=db.groups())
parser.add_argument('-l','--languages',dest="languages",default='',help="if given, this value will limit the output files to those belonging to the given languages. (defaults to '%(default)s')",choices=db.languages())
parser.add_argument('-l','--languages',dest="languages",default='',help="if given, this value will limit the output files to those belonging to the given languages. (defaults to '%(default)s')",choices=db.languages())
parser.add_argument('-c','--classes',dest="classes",default='',help="if given, this value will limit the output files to those belonging to the given classes. (defaults to '%(default)s')",choices=('client','impostor',''))
parser.add_argument('-c','--classes',dest="classes",default='',help="if given, this value will limit the output files to those belonging to the given classes. (defaults to '%(default)s')",choices=('client','impostor',''))