validate:tools: Allow user to append paths to medias

This commit is contained in:
Thibault Saunier 2014-01-30 13:36:04 +01:00
parent 5e96c79000
commit 932fcaf9b8

View file

@ -64,7 +64,7 @@ def main():
parser.add_option("-l", "--logs-dir", dest="logsdir",
action="store_true", default=os.path.expanduser("~/gst-validate/logs/"),
help="Directory where to store logs")
parser.add_option("-p", "--medias-paths", dest="paths",
parser.add_option("-p", "--medias-paths", dest="paths", action="append",
default=[os.path.join(DEFAULT_GST_QA_ASSETS, "medias")],
help="Paths in which to look for media files")
parser.add_option("-m", "--mute", dest="mute",