Debian

artistic style推薦參數


參考資訊:
1. astyle

如下:

$ astyle -rnA4s2pjyUk3 "*.c" "*.cpp" "*.h"
$ astyle -rn --style=stroustrup --indent=spaces=2 --pad-oper --add-braces --break-closing-braces --unpad-paren --align-pointer=name "*.c" "*.cpp" "*.h"


返回上一頁