aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-21 15:48:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-21 15:48:03 +0200
commit348efda0db31ca3a3ea0f7bf2eaa69985d3984b8 (patch)
tree16dc64bf6d9f924c64f4ccbb0665d25390f7ae7e
parentfa388514dcd1c1bd53ea06a243e2fafc928e3d96 (diff)
Ignore unknown command line options and arguments
-rw-r--r--odb/mysql/database.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/mysql/database.cxx b/odb/mysql/database.cxx
index 23d6ba2..8278e0e 100644
--- a/odb/mysql/database.cxx
+++ b/odb/mysql/database.cxx
@@ -170,7 +170,7 @@ namespace odb
try
{
cli::argv_file_scanner scan (argc, argv, "--options-file", erase);
- options ops (scan);
+ options ops (scan, cli::unknown_mode::skip, cli::unknown_mode::skip);
user_ = ops.user ();