[Libosinfo] [osinfo-db-tools PATCH] import: update manpage
Fabiano Fidêncio
fidencio at redhat.com
Sat Sep 22 07:18:41 UTC 2018
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.
+
=head1 OPTIONS
=over 8
--
2.17.1
More information about the Libosinfo
mailing list