[Libosinfo] [PATCH db-tools 02/11] Fix description of import/export commands

Daniel P. Berrange berrange at redhat.com
Tue Jun 28 15:52:28 UTC 2016


The command line option help was reporting the wrong description
for the import/export commands due to cut+paste mistake.

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 tools/osinfo-db-export.c | 2 +-
 tools/osinfo-db-import.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/osinfo-db-export.c b/tools/osinfo-db-export.c
index 256c793..553b797 100644
--- a/tools/osinfo-db-export.c
+++ b/tools/osinfo-db-export.c
@@ -375,7 +375,7 @@ gint main(gint argc, gchar **argv)
     bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
     bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
 
-    context = g_option_context_new(_("- Validate XML documents "));
+    context = g_option_context_new(_("- Export database archive "));
 
     g_option_context_add_main_entries(context, entries, GETTEXT_PACKAGE);
 
diff --git a/tools/osinfo-db-import.c b/tools/osinfo-db-import.c
index b621d2b..17d9e23 100644
--- a/tools/osinfo-db-import.c
+++ b/tools/osinfo-db-import.c
@@ -230,7 +230,7 @@ gint main(gint argc, gchar **argv)
     bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
     bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
 
-    context = g_option_context_new(_("- Validate XML documents "));
+    context = g_option_context_new(_("- Import database archive "));
 
     g_option_context_add_main_entries(context, entries, GETTEXT_PACKAGE);
 
-- 
2.7.4




More information about the Libosinfo mailing list