From d7c7f8c9afb00345a4f6ac7d591fa0e8bd7b9e71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 13 Oct 2012 08:18:11 +0200 Subject: [PATCH] astyle: Added --convert-tabs option --- runastyle | 2 +- runastyle.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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