astyle: Added --convert-tabs option

This commit is contained in:
Daniel Marjamäki 2012-10-13 08:18:11 +02:00
parent 1951d1cdc5
commit d7c7f8c9af
2 changed files with 2 additions and 2 deletions

View File

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

View File

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