scenario: Do not execute anything when listing scenarios

This commit is contained in:
Thibault Saunier 2013-10-25 11:33:54 +02:00
parent 71758d49da
commit 9dfee4dffa

View file

@ -147,9 +147,12 @@ main (int argc, gchar ** argv)
gst_init (&argc, &argv);
gst_validate_init ();
if (list_scenarios)
if (list_scenarios) {
gst_validate_list_scenarios ();
return 0;
}
if (argc == 1) {
g_print ("%s", g_option_context_get_help (ctx, FALSE, NULL));
g_option_context_free (ctx);