[libgda] Bug fixed in options parsing in samples/SqlParserConsole



commit 0847af28e528a2118535bdaec274e0b94f78a3df
Author: Vivien Malerba <malerba gnome-db org>
Date:   Wed May 13 14:45:25 2009 +0200

    Bug fixed in options parsing in samples/SqlParserConsole
---
 ChangeLog                          |    4 ++++
 samples/SqlParserConsole/console.c |    3 ++-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 47b5c78..aa5a754 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-13  Vivien Malerba <malerba gnome-db org>
+
+	* samples/SqlParserConsole/console.c: fix bug in options parsing and help
+
 2009-05-08  Vivien Malerba <malerba gnome-db org>
 
 	* po/POTFILES.in: added missing file
diff --git a/samples/SqlParserConsole/console.c b/samples/SqlParserConsole/console.c
index 515ee2c..9ab8881 100644
--- a/samples/SqlParserConsole/console.c
+++ b/samples/SqlParserConsole/console.c
@@ -19,7 +19,8 @@ static GdaSqlParser *create_parser_for_provider (const gchar *prov_name);
 gchar *prov_name = NULL;
 
 static GOptionEntry entries[] = {
-	{ "prov", 'p', 0, G_OPTION_ARG_STRING, &prov_name, "Provider [SQLite|MySQL|PostgreSQL]", "provider"},
+	{ "prov", 'p', 0, G_OPTION_ARG_STRING, &prov_name, "Provider [SQLite|MySQL|PostgreSQL|...]", "provider"},
+	{NULL}
 };
 
 int 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]