diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-18 19:45:41 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-18 19:46:50 +0300 |
commit | 208cee254b93781887513c3c0e3390def202f659 (patch) | |
tree | 3f77ad6d802a32d5c7ae7ea228f0f0502888e69c /docs/project-clang-format.md | |
parent | v1.0 (diff) | |
download | cmake-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.md | 4 |
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 |