使い方

$ astyle --pad-header --indent=tab=8 -A10 *.cpp *.h
$ astyle --mode=c --pad-header --indent=tab=8 -A10 *.c *.h

参考

clang-formatでもソースファイルの整形ができる。 $ clang-format -i -style=file *.c