[PATCH docs 2/3] contributing: Add astyle call for C

OpenBMC Patches openbmc-patches at stwcx.xyz
Thu Jul 21 08:30:15 AEST 2016


From: Patrick Williams <patrick at stwcx.xyz>

Signed-off-by: Patrick Williams <patrick at stwcx.xyz>
---
 contributing.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/contributing.md b/contributing.md
index 674dcee..5d64b32 100644
--- a/contributing.md
+++ b/contributing.md
@@ -67,6 +67,9 @@ In short:
 
   - Opening braces on the end of a line, except for functions
 
+This style can mostly be verified with 'astyle' as follows:
+
+    astyle --style=linux --indent=tab=8 --indent=force-tab=8
 
 Submitting changes
 ------------------
-- 
2.9.0




More information about the openbmc mailing list