osinfo-db-export does not have to take one argument as, in case the archive file to export is not passed a generic one will be created. Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> --- tools/osinfo-db-export.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/osinfo-db-export.c b/tools/osinfo-db-export.c index 8b2d5fb..2c1bb8d 100644 --- a/tools/osinfo-db-export.c +++ b/tools/osinfo-db-export.c @@ -522,12 +522,6 @@ gint main(gint argc, gchar **argv) goto error; } - if (argc > 2) { - g_printerr(_("%s: expected path to one archive file to export\n"), - argv0); - goto error; - } - if (local) locs++; if (system) -- 2.17.1 _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo