X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=scripts%2Fformat.sh;h=ada110aaa5f007944c9ed7cda28bbc89922ba813;hb=HEAD;hp=33b228687502fbc2a8f288455325960b2d7c5423;hpb=baea6bb0da45db459b54863690454f6b52944144;p=cassiopeia.git diff --git a/scripts/format.sh b/scripts/format.sh index 33b2286..ada110a 100755 --- a/scripts/format.sh +++ b/scripts/format.sh @@ -1,2 +1,2 @@ #!/bin/sh -astyle --style=java --add-brackets --indent-col1-comments --break-blocks --pad-oper --pad-paren-in --unpad-paren --indent-namespaces --align-pointer=type --align-reference=type --convert-tabs --lineend=linux -r "*.cpp" "*.h" +exec astyle --style=java --add-brackets --indent-col1-comments --break-blocks --pad-oper --pad-paren-in --unpad-paren --indent-namespaces --align-pointer=name --align-reference=type --convert-tabs --lineend=linux --suffix=none --exclude=lib --recursive "*.cpp" "*.h" '*.hpp'