aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-01 16:25:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-01 16:25:28 +0200
commit22947eddd81a2c916beb6d8050a8e55a019b4d18 (patch)
tree5d312881a33c90ae707b63cee20cec0686bd07de
parentc419af44209a112861a40a67bac85f0a2464aa7a (diff)
Move profile option higher up in list of options
-rw-r--r--odb/options.cli35
1 files changed, 19 insertions, 16 deletions
diff --git a/odb/options.cli b/odb/options.cli
index 38e5ed6..12bb1e8 100644
--- a/odb/options.cli
+++ b/odb/options.cli
@@ -116,6 +116,23 @@ class options
directive to the generated code."
};
+ // The following option is "fake" in that it is actually handled by
+ // argv_file_scanner. We have it here to get the documentation.
+ //
+ std::string --profile | -p
+ {
+ "<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."
+ };
+
std::string --output-dir | -o
{
"<dir>",
@@ -309,23 +326,9 @@ class options
preprocessor macro name are replaced with underscores."
};
- // The following two options are "fake" in that they are actually handled
- // by argv_file_scanner. We have them here to get the documentation.
+ // The following option is "fake" in that it is actually handled by
+ // argv_file_scanner. We have it here to get the documentation.
//
- std::string --profile|-p
- {
- "<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."
- };
-
std::string --options-file
{
"<file>",