From ac1818748ce1171b87b5af552b8d58b0d584316a Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Tue, 12 Dec 2017 13:02:55 -0700 Subject: [PATCH] astyle: change "add-braces" to "j" for compatibility Older astyle releases called this option "add-brackets" ("add-braces" was added in astyle 3.0), so for compatibility with both, use the short option name (-j), which is the same in both. Change-Id: If6ee3065281219d84549f93588079bf0f1f947a2 Signed-off-by: Daniel Verkamp Reviewed-on: https://review.gerrithub.io/391477 Tested-by: SPDK Automated Test System Reviewed-by: Dariusz Stojaczyk Reviewed-by: Tomasz Zawadzki Reviewed-by: Maciej Szwed Reviewed-by: Ben Walker Reviewed-by: Jim Harris --- .astylerc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.astylerc b/.astylerc index 8f5a5f8624..456f890e5c 100644 --- a/.astylerc +++ b/.astylerc @@ -1,6 +1,6 @@ # Bracket Style style=kr # K&R brackets -add-braces # Add braces to one-line conditional statements +j # Add braces to one-line conditional statements keep-one-line-blocks # Don't break blocks that are on one line # Indentation