aboutsummaryrefslogtreecommitdiff
path: root/odb/options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-03-22 11:11:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-04-10 18:46:44 +0200
commit0fc39391cd7b5a5f0b362bed6c21e4c642a0accc (patch)
tree193646c134e9e0fafd96bf20266923800e0a7a51 /odb/options.cli
parent367c524af8ecfe066991bfaa8489b230f6e59446 (diff)
Add --changelog{,-in,-out,-dir} options
Diffstat (limited to 'odb/options.cli')
-rw-r--r--odb/options.cli38
1 files changed, 38 insertions, 0 deletions
diff --git a/odb/options.cli b/odb/options.cli
index 45d2305..fcacbd3 100644
--- a/odb/options.cli
+++ b/odb/options.cli
@@ -283,6 +283,44 @@ class options
generated files."
};
+ std::string --changelog
+ {
+ "<file>",
+ "Read/write changelog from/to <file> instead of the default changelog
+ file. The default changelog file name is derived from the input file
+ name and it is placed into the same directory as the input file. Note
+ that the \cb{--output-name} option does not affect the changelog file
+ location. In other words, by default, the changelog file is treated
+ as another input rather than output even though the ODB compiler may
+ modify it. Use the \cb{--changelog-in} and \cb{--changelog-out}
+ options to specify different input and output chaneglog files."
+ };
+
+ std::string --changelog-in
+ {
+ "<file>",
+ "Read changelog from <file> instead of the default changelog file. If
+ this option is specified, then you must also specify the output
+ chanegelog file with \cb{--changelog-out}."
+ };
+
+ std::string --changelog-out
+ {
+ "<file>",
+ "Write changelog to <file> instead of the default changelog file. If
+ this option is specified, then you must also specify the input
+ chanegelog file with \cb{--changelog-in}."
+ };
+
+ std::string --changelog-dir
+ {
+ "<dir>",
+ "Use <dir> instead of the input file directory as the changelog file
+ directory. This directory is also added to changelog files specified
+ with the \cb{--changelog}, \cb{--changelog-in}, and \cb{--changelog-in}
+ options unless they are absolute paths."
+ };
+
database_map<std::string> --odb-file-suffix
{
"<suffix>",