summaryrefslogtreecommitdiff
path: root/Help
diff options
context:
space:
mode:
authorMatthew Woehlke <matthew.woehlke@kitware.com>2023-03-13 12:09:13 -0400
committerMatthew Woehlke <matthew.woehlke@kitware.com>2023-03-15 10:53:25 -0400
commitc8f65d2b67604643e1dc07ae05b09ad861e49f23 (patch)
tree89c3b0dd2d0ac9ef20c7054c4ebf56804e7257c2 /Help
parent68fb1572a8352f5229009285202afc3df692642f (diff)
downloadcmake-c8f65d2b67604643e1dc07ae05b09ad861e49f23.tar.gz
Help: Improve file command signatures
Fix a couple of file command signatures that were not using angle brackets to mark arguments.
Diffstat (limited to 'Help')
-rw-r--r--Help/command/file.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst
index 5c41f0dd73..25b762c5fd 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -504,9 +504,9 @@ Writing
.. code-block:: cmake
- file(GENERATE OUTPUT output-file
- <INPUT input-file|CONTENT content>
- [CONDITION expression] [TARGET target]
+ file(GENERATE OUTPUT <output-file>
+ <INPUT <input-file>|CONTENT <content>>
+ [CONDITION <expression>] [TARGET <target>]
[NO_SOURCE_PERMISSIONS | USE_SOURCE_PERMISSIONS |
FILE_PERMISSIONS <permissions>...]
[NEWLINE_STYLE [UNIX|DOS|WIN32|LF|CRLF] ])
@@ -588,8 +588,8 @@ Writing
of a project's ``CMakeLists.txt`` files.
.. signature::
- file(CONFIGURE OUTPUT output-file
- CONTENT content
+ file(CONFIGURE OUTPUT <output-file>
+ CONTENT <content>
[ESCAPE_QUOTES] [@ONLY]
[NEWLINE_STYLE [UNIX|DOS|WIN32|LF|CRLF] ])
:target: CONFIGURE