scenario: Do not execute anything when listing scenarios
This commit is contained in:
parent
71758d49da
commit
9dfee4dffa
@ -147,9 +147,12 @@ main (int argc, gchar ** argv)
|
|||||||
gst_init (&argc, &argv);
|
gst_init (&argc, &argv);
|
||||||
gst_validate_init ();
|
gst_validate_init ();
|
||||||
|
|
||||||
if (list_scenarios)
|
if (list_scenarios) {
|
||||||
gst_validate_list_scenarios ();
|
gst_validate_list_scenarios ();
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (argc == 1) {
|
if (argc == 1) {
|
||||||
g_print ("%s", g_option_context_get_help (ctx, FALSE, NULL));
|
g_print ("%s", g_option_context_get_help (ctx, FALSE, NULL));
|
||||||
g_option_context_free (ctx);
|
g_option_context_free (ctx);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user