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 <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/391477
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Maciej Szwed <maciej.szwed@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Daniel Verkamp 2017-12-12 13:02:55 -07:00 committed by Jim Harris
parent 9bbf06a652
commit ac1818748c

View File

@ -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