aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/clang-format.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-07 01:27:21 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-07 01:27:21 +0300
commitc6e99acef81208ae679fe4234b6b35e111f91789 (patch)
tree561d96103ad4d1ab5e198ced939935bc62b18170 /tools/clang-format.py
parentctest-driver.py: add --fail-regex, fix --pass-regex (diff)
downloadcmake-common-c6e99acef81208ae679fe4234b6b35e111f91789.tar.gz
cmake-common-c6e99acef81208ae679fe4234b6b35e111f91789.zip
tools: update usage information, add docs/ entries
Diffstat (limited to '')
-rwxr-xr-xtools/clang-format.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/clang-format.py b/tools/clang-format.py
index 01cdae5..81b2f93 100755
--- a/tools/clang-format.py
+++ b/tools/clang-format.py
@@ -5,9 +5,9 @@
# For details, see https://github.com/egor-tensin/cmake-common.
# Distributed under the MIT License.
-'''Feed C/C++ files in the repository to clang-format
+'''clang-format all C/C++ files in the project
-This script runs clang-format on every C/C++ file in the repository, either
+This script feeds every C/C++ file in the repository to clang-format, either
printing a unified diff between the original and the formatted versions, or
formatting the files in-place.
'''