From 0fc39391cd7b5a5f0b362bed6c21e4c642a0accc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 22 Mar 2013 11:11:02 +0200 Subject: Add --changelog{,-in,-out,-dir} options --- odb/options.cli | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'odb/options.cli') 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 + { + "", + "Read/write changelog from/to 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 + { + "", + "Read changelog from 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 + { + "", + "Write changelog to 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 + { + "", + "Use 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 --odb-file-suffix { "", -- cgit v1.1