svn path=/branches/KDE4/; revision=1990
#! /bin/sh
+FILES="`find -type f -wholename './src/*.cpp'` `find -type f -wholename './src/*.h'`"
+
+if [ $# -gt 0 ]
+then
+ FILES=$@
+fi
+
astyle --indent=spaces=4 --brackets=attach \
--indent-labels --unpad=paren \
--pad=oper --convert-tabs \
--indent-preprocessor \
- `find -type f -wholename './src/*.cpp'` `find -type f -wholename './src/*.h'`
+ ${FILES}
-echo -e "Delete .orig files (y/N) ?"
+echo -n "Delete .orig files (y/N) ? "
read del
if [ "x${del}" = "xy" ]