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);
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 "