summaryrefslogtreecommitdiff
path: root/cli/options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-06-20 11:56:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-06-20 11:56:54 +0200
commitc61f197baddcd2e048a106a2026c72cadc452bcd (patch)
treeeb18be841b6727a1fdaa05d44a96d9935d38b31f /cli/options.cli
parent07eb1add3c500ca4c53d499340bf5d524e288b39 (diff)
Add ability to specify prologues/epilogues for generated C++ files
Also add options to specify text prologues/epilogues in addition to files for generated man and html files.
Diffstat (limited to 'cli/options.cli')
-rw-r--r--cli/options.cli124
1 files changed, 118 insertions, 6 deletions
diff --git a/cli/options.cli b/cli/options.cli
index aef408e..ab7be1c 100644
--- a/cli/options.cli
+++ b/cli/options.cli
@@ -121,28 +121,140 @@ class options
"Generate documentation in the HTML format."
};
- std::string --man-prologue-file
+ // Prologues.
+ //
+ std::vector<std::string> --hxx-prologue
+ {
+ "<text>",
+ "Insert <text> at the beginning of the generated C++ header file."
+ };
+
+ std::vector<std::string> --ixx-prologue
+ {
+ "<text>",
+ "Insert <text> at the beginning of the generated C++ inline file."
+ };
+
+ std::vector<std::string> --cxx-prologue
+ {
+ "<text>",
+ "Insert <text> at the beginning of the generated C++ source file."
+ };
+
+ std::vector<std::string> --man-prologue
+ {
+ "<text>",
+ "Insert <text> at the beginning of the generated man page file."
+ };
+
+ std::vector<std::string> --html-prologue
+ {
+ "<text>",
+ "Insert <text> at the beginning of the generated HTML file."
+ };
+
+ // Epilogues.
+ //
+ std::vector<std::string> --hxx-epilogue
+ {
+ "<text>",
+ "Insert <text> at the end of the generated C++ header file."
+ };
+
+ std::vector<std::string> --ixx-epilogue
+ {
+ "<text>",
+ "Insert <text> at the end of the generated C++ inline file."
+ };
+
+ std::vector<std::string> --cxx-epilogue
+ {
+ "<text>",
+ "Insert <text> at the end of the generated C++ source file."
+ };
+
+ std::vector<std::string> --man-epilogue
+ {
+ "<text>",
+ "Insert <text> at the end of the generated man page text."
+ };
+
+ std::vector<std::string> --html-epilogue
+ {
+ "<text>",
+ "Insert <text> at the end of the generated HTML text."
+ };
+
+ // Prologue files.
+ //
+ std::string --hxx-prologue-file
{
"<file>",
- "Insert the content of <file> at the beginning of the man page file."
+ "Insert the content of <file> at the beginning of the generated C++
+ header file."
};
- std::string --man-epilogue-file
+ std::string --ixx-prologue-file
+ {
+ "<file>",
+ "Insert the content of <file> at the beginning of the generated C++
+ inline file."
+ };
+
+ std::string --cxx-prologue-file
{
"<file>",
- "Insert the content of <file> at the end of the man page file."
+ "Insert the content of <file> at the beginning of the generated C++
+ source file."
+ };
+
+ std::string --man-prologue-file
+ {
+ "<file>",
+ "Insert the content of <file> at the beginning of the generated man
+ page file."
};
std::string --html-prologue-file
{
"<file>",
- "Insert the content of <file> at the beginning of the HTML file."
+ "Insert the content of <file> at the beginning of the generated HTML
+ file."
+ };
+
+ // Epilogue files.
+ //
+ std::string --hxx-epilogue-file
+ {
+ "<file>",
+ "Insert the content of <file> at the end of the generated C++ header
+ file."
+ };
+
+ std::string --ixx-epilogue-file
+ {
+ "<file>",
+ "Insert the content of <file> at the end of the generated C++ inline
+ file."
+ };
+
+ std::string --cxx-epilogue-file
+ {
+ "<file>",
+ "Insert the content of <file> at the end of the generated C++ source
+ file."
+ };
+
+ std::string --man-epilogue-file
+ {
+ "<file>",
+ "Insert the content of <file> at the end of the generated man page file."
};
std::string --html-epilogue-file
{
"<file>",
- "Insert the content of <file> at the end of the HTML file."
+ "Insert the content of <file> at the end of the generated HTML file."
};
std::vector<std::string> --class