From f8677f8bfaa68e6714f4af7b030d0f365e60b918 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 29 Oct 2012 10:03:36 +0200 Subject: Add support for database prefixes in command line interface --- odb/options.cli | 62 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) (limited to 'odb/options.cli') diff --git a/odb/options.cli b/odb/options.cli index 61d8371..3c7efa8 100644 --- a/odb/options.cli +++ b/odb/options.cli @@ -45,7 +45,7 @@ class options // // Plugin options. // - std::vector< ::database > --database | -d + std::vector< ::database> --database | -d { "", "Generate code for the database. Valid values are \cb{mssql}, @@ -113,7 +113,7 @@ class options for details)." }; - std::set< ::schema_format> --schema-format + database_map > --schema-format { "", "Generate the database schema in the specified format. Pass \cb{sql} as @@ -137,7 +137,7 @@ class options "Omit \cb{CREATE} statements from the generated database schema." }; - std::string --schema-name = "" + database_map --schema-name { "", "Use as the database schema name. Schema names are primarily @@ -210,7 +210,7 @@ class options \cb{#include} directive resolution." }; - qname --schema + database_map --schema { "", "Specify a database schema (database namespace) that should be @@ -220,7 +220,7 @@ class options \cb{--schema-name} option." }; - std::string --table-prefix + database_map --table-prefix { "", "Add to table and index names. The prefix is added to both @@ -306,31 +306,31 @@ class options // Prologues. // - std::vector --hxx-prologue + database_map > --hxx-prologue { "", "Insert at the beginning of the generated C++ header file." }; - std::vector --ixx-prologue + database_map > --ixx-prologue { "", "Insert at the beginning of the generated C++ inline file." }; - std::vector --cxx-prologue + database_map > --cxx-prologue { "", "Insert at the beginning of the generated C++ source file." }; - std::vector --schema-prologue + database_map > --schema-prologue { "", "Insert at the beginning of the generated schema C++ source file." }; - std::vector --sql-prologue + database_map > --sql-prologue { "", "Insert at the beginning of the generated database schema file." @@ -338,7 +338,7 @@ class options // Interludes. // - std::vector --sql-interlude + database_map > --sql-interlude { "", "Insert after all the \cb{DROP} and before any \cb{CREATE} @@ -347,31 +347,31 @@ class options // Epilogues. // - std::vector --hxx-epilogue + database_map > --hxx-epilogue { "", "Insert at the end of the generated C++ header file." }; - std::vector --ixx-epilogue + database_map > --ixx-epilogue { "", "Insert at the end of the generated C++ inline file." }; - std::vector --cxx-epilogue + database_map > --cxx-epilogue { "", "Insert at the end of the generated C++ source file." }; - std::vector --schema-epilogue + database_map > --schema-epilogue { "", "Insert at the end of the generated schema C++ source file." }; - std::vector --sql-epilogue + database_map > --sql-epilogue { "", "Insert at the end of the generated database schema file." @@ -379,35 +379,35 @@ class options // Prologue files. // - std::string --hxx-prologue-file + database_map --hxx-prologue-file { "", "Insert the content of at the beginning of the generated C++ header file." }; - std::string --ixx-prologue-file + database_map --ixx-prologue-file { "", "Insert the content of at the beginning of the generated C++ inline file." }; - std::string --cxx-prologue-file + database_map --cxx-prologue-file { "", "Insert the content of at the beginning of the generated C++ source file." }; - std::string --schema-prologue-file + database_map --schema-prologue-file { "", "Insert the content of at the beginning of the generated schema C++ source file." }; - std::string --sql-prologue-file + database_map --sql-prologue-file { "", "Insert the content of at the beginning of the generated @@ -416,7 +416,7 @@ class options // Interlude files. // - std::string --sql-interlude-file + database_map --sql-interlude-file { "", "Insert the content of after all the \cb{DROP} and before any @@ -425,35 +425,35 @@ class options // Epilogue files. // - std::string --hxx-epilogue-file + database_map --hxx-epilogue-file { "", "Insert the content of at the end of the generated C++ header file." }; - std::string --ixx-epilogue-file + database_map --ixx-epilogue-file { "", "Insert the content of at the end of the generated C++ inline file." }; - std::string --cxx-epilogue-file + database_map --cxx-epilogue-file { "", "Insert the content of at the end of the generated C++ source file." }; - std::string --schema-epilogue-file + database_map --schema-epilogue-file { "", "Insert the content of at the end of the generated schema C++ source file." }; - std::string --sql-epilogue-file + database_map --sql-epilogue-file { "", "Insert the content of at the end of the generated database @@ -462,7 +462,7 @@ class options // ODB compilation prologue/epilogue. // - std::vector --odb-prologue + database_map > --odb-prologue { "", "Compile before the input header file. This option allows you @@ -470,7 +470,7 @@ class options to the ODB compilation process." }; - std::vector --odb-prologue-file + database_map > --odb-prologue-file { "", "Compile contents before the input header file. Prologue files @@ -478,7 +478,7 @@ class options option)." }; - std::vector --odb-epilogue + database_map > --odb-epilogue { "", "Compile after the input header file. This option allows you @@ -486,7 +486,7 @@ class options to the ODB compilation process." }; - std::vector --odb-epilogue-file + database_map > --odb-epilogue-file { "", "Compile contents after the input header file. Epilogue files -- cgit v1.1