From 00a75bd58be79e416f701e0a2e37bca2159125de Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Thu, 5 Dec 2019 19:11:02 +0100 Subject: [PATCH] Update CONTRIBUTION.md --- CONTRIBUTION.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTION.md b/CONTRIBUTION.md index c99de6daf..73a02bbb7 100644 --- a/CONTRIBUTION.md +++ b/CONTRIBUTION.md @@ -90,9 +90,9 @@ If cpplint is ___not___ installed then do: Once cpplint is installed, test your file(s) with: * `cpplint --filter=-legal my_file.cpp my_other_file.cpp` # Fix any issues and try again. -The [__clang-format__](https://clang.llvm.org/docs/ClangFormat.html) tool can fix many but not all _cpplint_ issues. +The [__clang-format__](https://clang.llvm.org/docs/ClangFormat.html) tool can fix whitespace related _cpplint_ issues. * On Macs only: `brew install clang-format` # Only needs to be installed once. -* All platforms: `clang-format --style=Google -i my_file.cpp` +* All platforms: `clang-format -i -style="{IndentWidth: 4}" my_file.cpp` - Most importantly, - Happy coding!