parser.add_argument('-d','--directory',dest="directory",default='',help="if given, this path will be prepended to every entry returned.")
parser.add_argument('-e','--extension',dest="extension",default='',help="if given, this extension will be appended to every entry returned.")
parser.add_argument('-p','--protocol',dest="protocol",default='',help="if given, limits the check to a particular subset of the data that corresponds to the given protocol.",choices=db.protocol_names()ifdb.is_valid()else())
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.",choices=db.purposes()ifdb.is_valid()else())
parser.add_argument('-C','--client',dest="client",default=None,type=int,help="if given, limits the dump to a particular client.",choices=db.model_ids()ifdb.is_validelse())
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.",choices=db.groups()ifdb.is_valid()else())
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.",choices=('client','impostor',''))
parser.add_argument('-d','--directory',help="if given, this path will be prepended to every entry returned.")
parser.add_argument('-e','--extension',help="if given, this extension will be appended to every entry returned.")
parser.add_argument('-p','--protocol',help="if given, limits the check to a particular subset of the data that corresponds to the given protocol.",choices=db.protocol_names()ifdb.is_valid()else())
parser.add_argument('-u','--purpose',help="if given, this value will limit the output files to those designed for the given purposes.",choices=db.purposes()ifdb.is_valid()else())
parser.add_argument('-C','--client',type=int,help="if given, limits the dump to a particular client.",choices=db.model_ids()ifdb.is_validelse())
parser.add_argument('-g','--group',help="if given, this value will limit the output files to those belonging to a particular protocolar group.",choices=db.groups()ifdb.is_valid()else())
parser.add_argument('-c','--class',dest="sclass",help="if given, this value will limit the output files to those belonging to the given classes.",choices=('client','impostor'))
parser.add_argument('path',nargs='+',type=str,help="one or more path stems to look up. If you provide more than one, files which cannot be reversed will be omitted from the output.")
parser.add_argument('path',nargs='+',help="one or more path stems to look up. If you provide more than one, files which cannot be reversed will be omitted from the output.")
parser.add_argument('-d','--directory',dest="directory",default='',help="if given, this path will be prepended to every entry returned.")
parser.add_argument('-e','--extension',dest="extension",default='',help="if given, this extension will be appended to every entry returned.")
parser.add_argument('-d','--directory',help="if given, this path will be prepended to every entry returned.")
parser.add_argument('-e','--extension',help="if given, this extension will be appended to every entry returned.")
parser.add_argument('id',nargs='+',type=int,help="one or more file ids to look up. If you provide more than one, files which cannot be found will be omitted from the output. If you provide a single id to lookup, an error message will be printed if the id does not exist in the database. The exit status will be non-zero in such case.")