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!