Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

runastyle: Ignore user's default options file

If we pass --options=none to astyle, it ignores the user's
default options file, and only uses the command line parameters.
This way, if the user has a default options file, it won't conflict
with the style set by the script.
  • Loading branch information...
commit 10415df93e9edd7ae32bcb62a6fb18371bfb10c7 1 parent adc8713
@crumblingstatue crumblingstatue authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  runastyle
View
2  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 --convert-tabs"
+options="--options=none --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.