Permalink
Browse files

astyle: Added --convert-tabs option

  • Loading branch information...
1 parent 1951d1c commit d7c7f8c9afb00345a4f6ac7d591fa0e8bd7b9e71 @danmar committed Oct 13, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 runastyle
  2. +1 −1 runastyle.bat
View
@@ -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
@@ -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

0 comments on commit d7c7f8c

Please sign in to comment.