From c71522ea1afb64b325b81f043cbdcda2c48f058b Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 29 Sep 2021 21:44:42 +0200 Subject: [PATCH] - astyle: re-sort options; no other changes --- support/scripts/astyle.sh | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/support/scripts/astyle.sh b/support/scripts/astyle.sh index 7657f586..7bd038cb 100755 --- a/support/scripts/astyle.sh +++ b/support/scripts/astyle.sh @@ -17,31 +17,33 @@ type astyle >/dev/null 2>&1 || { echo >&2 "Astyle required, but it's not install for file in $@; do astyle \ - --suffix=none \ --style=allman \ - --formatted -v \ \ --indent=force-tab=8 \ + \ --indent-classes \ - --indent-preproc-define \ --indent-switches \ --indent-after-parens \ + --indent-preproc-define \ --max-instatement-indent=80 \ - --lineend=linux \ - \ - --unpad-paren \ \ --pad-oper \ --pad-comma \ --pad-header \ - --pad-param-type \ - --attach-return-type-decl \ + --unpad-paren \ + --align-pointer=name \ \ --break-one-line-headers \ + --attach-return-type-decl \ --keep-one-line-blocks \ --keep-one-line-statements \ \ - --align-pointer=name \ + --pad-param-type \ + \ + --suffix=none \ + --verbose \ + --formatted \ + --lineend=linux \ \ $file done