Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

astyle: Added --convert-tabs option

  • Loading branch information...
commit d7c7f8c9afb00345a4f6ac7d591fa0e8bd7b9e71 1 parent 1951d1c
Daniel Marjamäki authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  runastyle
  2. +1 −1  runastyle.bat
2  runastyle
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
2  runastyle.bat
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
Please sign in to comment.
Something went wrong with that request. Please try again.