From cb1ff884a1703aeeb2625c4d25e6845933cf1f2e Mon Sep 17 00:00:00 2001 From: Sam Dodrill Date: Mon, 15 Sep 2014 14:26:14 -0700 Subject: [PATCH] CONTRIBUTING: clarify style requirements --- CONTRIBUTING.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 44efe12..5a05a7f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,3 +9,12 @@ follow the current coding style of the file you are in. If all else fails, please use the [Linux Kernel](https://www.kernel.org/doc/Documentation/CodingStyle) coding style. +Please run all code against the following `astyle` command before sending in +a pull request: + +```console +$ astyle --style=linux --mode=c -n $file +``` + +It should be trivial to set up your text editor to do this for you. +