From 0e26a35cd2d4f097f24cfbb4edb10cfcdcfa2098 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 5 Oct 2026 14:33:27 +0500 Subject: update README & docs --- docs/project-clang-format.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/project-clang-format.md') diff --git a/docs/project-clang-format.md b/docs/project-clang-format.md index 1beeced..821ad9f 100644 --- a/docs/project-clang-format.md +++ b/docs/project-clang-format.md @@ -1,5 +1,7 @@ `clang-format` all C/C++ files in the project. $ cd project/ - $ python path/to/tools/project-clang-format.py # Prints a diff - $ python path/to/tools/project-clang-format.py -i # Edits files in-place + $ project-format # Prints a diff + $ project-format -i # Edits files in-place + +Alternatively, run it as a Python module: `python -m project.format` -- cgit v1.3