aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/project-clang-format.md
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-18 19:45:41 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-18 19:46:50 +0300
commit208cee254b93781887513c3c0e3390def202f659 (patch)
tree3f77ad6d802a32d5c7ae7ea228f0f0502888e69c /docs/project-clang-format.md
parentv1.0 (diff)
downloadcmake-common-208cee254b93781887513c3c0e3390def202f659.tar.gz
cmake-common-208cee254b93781887513c3c0e3390def202f659.zip
tools: bring back the .py extension
It should help running the scripts on Windows, where the .py extension is associated with the Python interpreter.
Diffstat (limited to '')
-rw-r--r--docs/project-clang-format.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/project-clang-format.md b/docs/project-clang-format.md
index d294730..d0badce 100644
--- a/docs/project-clang-format.md
+++ b/docs/project-clang-format.md
@@ -1,5 +1,5 @@
`clang-format` all C/C++ files in the project.
$ cd project/
- $ python3 path/to/tools/project-clang-format # Prints a diff
- $ python3 path/to/tools/project-clang-format -i # Edits files in-place
+ $ python3 path/to/tools/project-clang-format.py # Prints a diff
+ $ python3 path/to/tools/project-clang-format.py -i # Edits files in-place