ges-launch: When a scenario is set, don't request triplets
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Thu, 1 May 2014 15:00:25 +0000 (17:00 +0200)
committerMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Thu, 8 May 2014 12:25:22 +0000 (14:25 +0200)
tools/ges-launch.c

index e4ec8d6..a928656 100644 (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);