summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-28 19:04:28 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-06-28 19:04:28 (GMT)
commit151d55557eb823a4ee6d66bdc0a2ea49868bfc1a (patch)
treefe96c973cfc43dbaec4056a93034c6def1d8077a /Source/cmakemain.cxx
parent95f55515fa6064d862354524d0837a9ba4787f49 (diff)
downloadCMake-151d55557eb823a4ee6d66bdc0a2ea49868bfc1a.zip
CMake-151d55557eb823a4ee6d66bdc0a2ea49868bfc1a.tar.gz
CMake-151d55557eb823a4ee6d66bdc0a2ea49868bfc1a.tar.bz2
ENH: generate separate documentation for the commands, compatiblity
commands, modules and properties as html, text and man pages. The names of the man pages are cmcommands, cmcompat, cmprops and cmmodules, so they are easy to type. Alex
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index e204b8f..4d075fa 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -100,12 +100,18 @@ static const cmDocumentationEntry cmDocumentationOptions[] =
"The list contains all commands for which help may be obtained by using "
"the --help-command argument followed by a command name. If a file is "
"specified, the help is written into it."},
+ {"--help-commands [file]", "Print help for all commands and exit.",
+ "Full documentation specific for all current command is displayed."},
+ {"--help-compatcommands [file]", "Print help for compatibility commands. ",
+ "Full documentation specific for all compatibility commands is displayed."},
{"--help-module module [file]", "Print help for a single module and exit.",
"Full documentation specific to the given module is displayed."},
{"--help-module-list [file]", "List available modules and exit.",
"The list contains all modules for which help may be obtained by using "
"the --help-module argument followed by a module name. If a file is "
"specified, the help is written into it."},
+ {"--help-modules [file]", "Print help for all modules and exit.",
+ "Full documentation for all modules is displayed."},
{"--help-property prop [file]",
"Print help for a single property and exit.",
"Full documentation specific to the given module is displayed."},
@@ -113,6 +119,8 @@ static const cmDocumentationEntry cmDocumentationOptions[] =
"The list contains all properties for which help may be obtained by using "
"the --help-property argument followed by a property name. If a file is "
"specified, the help is written into it."},
+ {"--help-properties [file]", "Print help for all properties and exit.",
+ "Full documentation for all properties is displayed."},
{0,0,0}
};