diff --git a/runastyle b/runastyle index c34bd05c4..c13563733 100755 --- a/runastyle +++ b/runastyle @@ -14,7 +14,7 @@ if [[ "`astyle --version 2>&1`" != ${ASTYLE_VERSION}* ]]; then fi style="--style=stroustrup --indent=spaces=4 --indent-namespaces --lineend=linux --min-conditional-indent=0" -options="--pad-header --unpad-paren --suffix=none" +options="--pad-header --unpad-paren --suffix=none --convert-tabs" astyle $style $options cli/*.cpp astyle $style $options cli/*.h diff --git a/runastyle.bat b/runastyle.bat index 4ee66f58d..3f4a8288d 100644 --- a/runastyle.bat +++ b/runastyle.bat @@ -1,7 +1,7 @@ REM A script to run Astyle for the sources SET STYLE=--style=stroustrup --indent=spaces=4 --indent-namespaces --lineend=linux --min-conditional-indent=0 -SET OPTIONS=--pad-header --unpad-paren --suffix=none +SET OPTIONS=--pad-header --unpad-paren --suffix=none --convert-tabs astyle %STYLE% %OPTIONS% cli/*.cpp astyle %STYLE% %OPTIONS% cli/*.h