[Libosinfo] [osinfo-db-tools PATCH] import: update manpage

Christophe Fergeau cfergeau at redhat.com
Mon Sep 24 11:28:58 UTC 2018


On Sat, Sep 22, 2018 at 09:18:41AM +0200, Fabiano Fidêncio wrote:
> Mention in the manpage that if no ARCHIVE-FILE is passed or when
> ARCHIVE-FILE is -, it'll be read from the standard input.
> 
> Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
> ---
>  tools/osinfo-db-import.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/tools/osinfo-db-import.c b/tools/osinfo-db-import.c
> index 6ebe5b4..0d0bdd9 100644
> --- a/tools/osinfo-db-import.c
> +++ b/tools/osinfo-db-import.c
> @@ -287,7 +287,7 @@ osinfo-db-import - Import an osinfo database archive
>  
>  =head1 SYNOPSIS
>  
> -osinfo-db-import [OPTIONS...] ARCHIVE-FILE
> +osinfo-db-import [OPTIONS...] [ARCHIVE-FILE]
>  
>  =head1 DESCRIPTION
>  
> @@ -321,6 +321,9 @@ If run by a privileged account (ie root), the B<local> database
>  location will be used by default, otherwise the B<user> location
>  will be used.
>  
> +With no ARCHIVE-FILE, or when ARCHIVE-FILE is -, read standard
> +input.


Acked-by: Christophe Fergeau <cfergeau at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20180924/a503de9d/attachment.sig>


More information about the Libosinfo mailing list