summaryrefslogtreecommitdiff
path: root/odb/options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-30 09:27:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-30 09:27:11 +0200
commitfa508bc933b7d45110be3ab64d193653bd876336 (patch)
tree1032cfd2d4fba1449040a46a40332e66921a7998 /odb/options.cli
parent51529c4c62b00ea681f28b591fdcaa0c670da3d1 (diff)
Add support for database-specific profiles
Diffstat (limited to 'odb/options.cli')
-rw-r--r--odb/options.cli25
1 files changed, 17 insertions, 8 deletions
diff --git a/odb/options.cli b/odb/options.cli
index b536d21..0b643ec 100644
--- a/odb/options.cli
+++ b/odb/options.cli
@@ -123,14 +123,23 @@ class options
{
"<name>",
"Specify a profile that should be used during compilation. A
- profile is an options file with the name constructed by appending
- the \cb{.options} suffix to <name>. It is searched for in the
- same set of directories as C++ headers included with the
- \cb{#include <...>} directive (built-in paths plus those specified
- with the \cb{-I} options). The options file is first searched for
- in the directory itself and then in its \cb{odb/} subdirectory. For
- the format of the options file refer to the \cb{--options-file} option
- below. You can repeat this option to specify more than one profile."
+ profile is an options file. The ODB compiler first looks for
+ a database-specific version with the name constructed by appending
+ the \cb{-}\ci{database}\cb{.options} suffix to <name>, where
+ \ci{database} is the database name as specified with the
+ \cb{--database} option. If this file is not found, then the
+ ODB compiler looks for a database-independant version with the
+ name constructed by appending just the \cb{.options} suffix.
+
+ The profile options files are searched for in the same set of
+ directories as C++ headers included with the \cb{#include <...>}
+ directive (built-in paths plus those specified with the \cb{-I}
+ options). The options file is first searched for in the directory
+ itself and then in its \cb{odb/} subdirectory.
+
+ For the format of the options file refer to the \cb{--options-file}
+ option below. You can repeat this option to specify more than one
+ profile."
};
std::string --output-dir | -o