aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools
diff options
context:
space:
mode:
authorwodry <wodry@users.noreply.github.com>2021-03-19 19:06:06 +0100
committerwodry <wodry@users.noreply.github.com>2021-03-19 19:24:40 +0100
commitea76f4ac7d6e8c268d301d7ae6c8d4d8d804d55f (patch)
treeec92a16c8607281dab1735209e5d2add8f98e726 /contrib/devtools
parent3a12fdba51712f8e7a51d1a75ea0e8da9513c8ac (diff)
downloadbitcoin-ea76f4ac7d6e8c268d301d7ae6c8d4d8d804d55f.tar.xz
Doc: Tell howto install clang-format on Debian/Ubuntu
Because only macOS wasy mentioned, I was unsure if this would be a macOS specific tool. I guess Linux is more used than Mac, so Linux guide should be there, too.
Diffstat (limited to 'contrib/devtools')
-rw-r--r--contrib/devtools/README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/devtools/README.md b/contrib/devtools/README.md
index bdff7a84b0..1fa850af1a 100644
--- a/contrib/devtools/README.md
+++ b/contrib/devtools/README.md
@@ -7,7 +7,8 @@ clang-format-diff.py
A script to format unified git diffs according to [.clang-format](../../src/.clang-format).
-Requires `clang-format`, installed e.g. via `brew install clang-format` on macOS.
+Requires `clang-format`, installed e.g. via `brew install clang-format` on macOS,
+or `sudo apt install clang-format` on Debian/Ubuntu.
For instance, to format the last commit with 0 lines of context,
the script should be called from the git root folder as follows.