1 .. |file| replace:: The help is printed to a named <f>ile if given.
3 ``--help,-help,-usage,-h,-H,/?``
4 Print usage information and exit.
6 Usage describes the basic command line interface and its options.
8 ``--version,-version,/V [<f>]``
9 Show program name/version banner and exit.
11 If a file is specified, the version is written into it.
15 Print all help manuals and exit.
17 All manuals are printed in a human-readable text format.
20 ``--help-manual <man> [<f>]``
21 Print one help manual and exit.
23 The specified manual is printed in a human-readable text format.
26 ``--help-manual-list [<f>]``
27 List help manuals available and exit.
29 The list contains all manuals for which help may be obtained by
30 using the ``--help-manual`` option followed by a manual name.
33 ``--help-command <cmd> [<f>]``
34 Print help for one command and exit.
36 The :manual:`cmake-commands(7)` manual entry for ``<cmd>`` is
37 printed in a human-readable text format.
40 ``--help-command-list [<f>]``
41 List commands with help available and exit.
43 The list contains all commands for which help may be obtained by
44 using the ``--help-command`` option followed by a command name.
47 ``--help-commands [<f>]``
48 Print cmake-commands manual and exit.
50 The :manual:`cmake-commands(7)` manual is printed in a
51 human-readable text format.
54 ``--help-module <mod> [<f>]``
55 Print help for one module and exit.
57 The :manual:`cmake-modules(7)` manual entry for ``<mod>`` is printed
58 in a human-readable text format.
61 ``--help-module-list [<f>]``
62 List modules with help available and exit.
64 The list contains all modules for which help may be obtained by
65 using the ``--help-module`` option followed by a module name.
68 ``--help-modules [<f>]``
69 Print cmake-modules manual and exit.
71 The :manual:`cmake-modules(7)` manual is printed in a human-readable
75 ``--help-policy <cmp> [<f>]``
76 Print help for one policy and exit.
78 The :manual:`cmake-policies(7)` manual entry for ``<cmp>`` is
79 printed in a human-readable text format.
82 ``--help-policy-list [<f>]``
83 List policies with help available and exit.
85 The list contains all policies for which help may be obtained by
86 using the ``--help-policy`` option followed by a policy name.
89 ``--help-policies [<f>]``
90 Print cmake-policies manual and exit.
92 The :manual:`cmake-policies(7)` manual is printed in a
93 human-readable text format.
96 ``--help-property <prop> [<f>]``
97 Print help for one property and exit.
99 The :manual:`cmake-properties(7)` manual entries for ``<prop>`` are
100 printed in a human-readable text format.
103 ``--help-property-list [<f>]``
104 List properties with help available and exit.
106 The list contains all properties for which help may be obtained by
107 using the ``--help-property`` option followed by a property name.
110 ``--help-properties [<f>]``
111 Print cmake-properties manual and exit.
113 The :manual:`cmake-properties(7)` manual is printed in a
114 human-readable text format.
117 ``--help-variable <var> [<f>]``
118 Print help for one variable and exit.
120 The :manual:`cmake-variables(7)` manual entry for ``<var>`` is
121 printed in a human-readable text format.
124 ``--help-variable-list [<f>]``
125 List variables with help available and exit.
127 The list contains all variables for which help may be obtained by
128 using the ``--help-variable`` option followed by a variable name.
131 ``--help-variables [<f>]``
132 Print cmake-variables manual and exit.
134 The :manual:`cmake-variables(7)` manual is printed in a
135 human-readable text format.