summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2021-02-23 20:39:48 (GMT)
committerBrad King <brad.king@kitware.com>2021-02-24 14:33:50 (GMT)
commit4a92277f45d127baa3a9258ad91c285592311bbd (patch)
tree00e3724f21a1675e828e5c25f13a162140f802c1
parent6714074cd4754e8d9734174cf47ceb10180f934e (diff)
downloadCMake-4a92277f45d127baa3a9258ad91c285592311bbd.zip
CMake-4a92277f45d127baa3a9258ad91c285592311bbd.tar.gz
CMake-4a92277f45d127baa3a9258ad91c285592311bbd.tar.bz2
Revert "Help: Document JSON comment support in cmake-presets(7)"
Revert commit 8f1e607ed9 (Help: Document JSON comment support in cmake-presets(7), 2021-02-18). The support for comments was a mistake when the feature was implemented in 3.19, and is being removed.
-rw-r--r--Help/manual/cmake-presets.7.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst
index 55a9947..467818d 100644
--- a/Help/manual/cmake-presets.7.rst
+++ b/Help/manual/cmake-presets.7.rst
@@ -29,10 +29,7 @@ is using Git, ``CMakePresets.json`` may be tracked, and
Format
======
-The files are JSON documents. C-style comments are allowed using
-line-wise ``//`` syntax or block ``/*...*/`` syntax.
-
-Each document has an object as the root:
+The files are a JSON document with an object as the root:
.. literalinclude:: presets/example.json
:language: json