astyle: prevent creating backup files

This commit is contained in:
Daniel Marjamäki 2010-08-29 09:35:21 +02:00
parent beb2cfdd5d
commit 6e676fdd98
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
style="--style=ansi --min-conditional-indent=0"
options="--pad-header --unpad-paren"
options="--pad-header --unpad-paren" --suffix=none
astyle $style $options cli/*.cpp
astyle $style $options cli/*.h

View File

@ -1,7 +1,7 @@
REM A script to run Astyle for the sources
SET STYLE=--style=ansi --min-conditional-indent=0
SET OPTIONS=--pad-header --unpad-paren
SET OPTIONS=--pad-header --unpad-paren --suffix=none
astyle %STYLE% %OPTIONS% cli/*.cpp
astyle %STYLE% %OPTIONS% cli/*.h