Update mergerepo_c.c
authorSten Spans <sten@blinkenlights.nl>
Thu, 24 Mar 2016 09:47:16 +0000 (10:47 +0100)
committerSten Spans <sten@blinkenlights.nl>
Thu, 24 Mar 2016 09:47:16 +0000 (10:47 +0100)
src/mergerepo_c.c

index 9f997a9..94b929c 100644 (file)
@@ -402,7 +402,7 @@ parse_arguments(int *argc, char ***argv)
     GOptionContext *context;
 
     context = g_option_context_new("--repo=url --repo=url");
-    g_option_context_set_summary(context, "Take 2 or more repositories and "
+    g_option_context_set_summary(context, "Take one or more repositories and "
                                  "merge their metadata into a new repo");
     g_option_context_add_main_entries(context, cmd_entries, NULL);
 
@@ -1623,7 +1623,7 @@ main(int argc, char **argv)
         exit(0);
     }
 
-    if (g_slist_length(cmd_options->repo_list) < 2) {
+    if (g_slist_length(cmd_options->repo_list) < 1) {
         free_options(cmd_options);
         g_printerr("Usage: %s [OPTION...] --repo=url --repo=url\n\n"
                    "%s: take 2 or more repositories and merge their "