ges-launch: When a scenario is set, don't request triplets

This commit is contained in:
Mathieu Duponchelle 2014-05-01 17:00:25 +02:00
parent 71b9d421b8
commit 49a21044ca

View file

@ -808,7 +808,7 @@ main (int argc, gchar ** argv)
}
tried_uris = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
if (((!load_path && (argc < 4)))) {
if (((!load_path && !scenario && (argc < 4)))) {
g_printf ("%s", g_option_context_get_help (ctx, TRUE, NULL));
g_option_context_free (ctx);
exit (1);