On Fri, Sep 21, 2018 at 11:13 AM Fabiano Fidêncio <fiden...@redhat.com>
wrote:

> 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 <fiden...@redhat.com>
>

Self-nack to this one. The others are still valid. :-)


> ---
>  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@redhat.com
https://www.redhat.com/mailman/listinfo/libosinfo

Reply via email to