Skip to content

Commit d7c7f8c

Browse files
committed
astyle: Added --convert-tabs option
1 parent 1951d1c commit d7c7f8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

runastyle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if [[ "`astyle --version 2>&1`" != ${ASTYLE_VERSION}* ]]; then
1414
fi
1515

1616
style="--style=stroustrup --indent=spaces=4 --indent-namespaces --lineend=linux --min-conditional-indent=0"
17-
options="--pad-header --unpad-paren --suffix=none"
17+
options="--pad-header --unpad-paren --suffix=none --convert-tabs"
1818

1919
astyle $style $options cli/*.cpp
2020
astyle $style $options cli/*.h

runastyle.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
REM A script to run Astyle for the sources
22

33
SET STYLE=--style=stroustrup --indent=spaces=4 --indent-namespaces --lineend=linux --min-conditional-indent=0
4-
SET OPTIONS=--pad-header --unpad-paren --suffix=none
4+
SET OPTIONS=--pad-header --unpad-paren --suffix=none --convert-tabs
55

66
astyle %STYLE% %OPTIONS% cli/*.cpp
77
astyle %STYLE% %OPTIONS% cli/*.h

0 commit comments

Comments
 (0)