aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2025-12-29 23:45:53 +0100
committerEgor Tensin <egor@tensin.name>2025-12-29 23:45:53 +0100
commit9e7304af2fe5a4f89da64ac76768697aac4f858e (patch)
tree1a78434d01ffb4f4473c15eabdf6a1ef88f89a5d /docs
parentworkflows: fix the setup-mingw version (diff)
downloadcmake-common-5.0.tar.gz
cmake-common-5.0.zip
I guess Python 3 is mature enoughv5.0
Diffstat (limited to '')
-rw-r--r--docs/ctest-driver.md4
-rw-r--r--docs/project-clang-format.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/ctest-driver.md b/docs/ctest-driver.md
index af7c3b2..e196a36 100644
--- a/docs/ctest-driver.md
+++ b/docs/ctest-driver.md
@@ -6,8 +6,8 @@ PASS_REGULAR_EXPRESSION feature:
`ctest-driver.py` tries to fix them.
- $ python3 path/to/tools/ctest-driver.py run --pass-regex OK --fail-regex Fail -- path/to/executable arg1 arg2
+ $ python path/to/tools/ctest-driver.py run --pass-regex OK --fail-regex Fail -- path/to/executable arg1 arg2
In addition, it's a cross-platform `grep`:
- $ python3 path/to/tools/ctest-driver.py grep --pass-regex OK --fail-regex Fail -- path/to/logfile.log
+ $ python path/to/tools/ctest-driver.py grep --pass-regex OK --fail-regex Fail -- path/to/logfile.log
diff --git a/docs/project-clang-format.md b/docs/project-clang-format.md
index d0badce..1beeced 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.py # Prints a diff
- $ python3 path/to/tools/project-clang-format.py -i # Edits files in-place
+ $ python path/to/tools/project-clang-format.py # Prints a diff
+ $ python path/to/tools/project-clang-format.py -i # Edits files in-place