From 22947eddd81a2c916beb6d8050a8e55a019b4d18 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 1 Mar 2011 16:25:28 +0200 Subject: Move profile option higher up in list of options --- odb/options.cli | 35 +++++++++++++++++++---------------- 1 file 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 + { + "", + "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 . 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 { "", @@ -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 - { - "", - "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 . 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 { "", -- cgit v1.1