Add code style check shell script and style option description

This commit is contained in:
Hui Yu
2020-03-24 14:06:48 +08:00
parent 41e317dd38
commit a054c8f931
2 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
# Usage:
# sh ./code-style-check.sh ${c_source_file_name}
indent -npro -nbad -nip -lp -npsl -npcs -i4 -ts4 -sob -br -ce -nut -bap -nbc -bbo -brs -cs -nfc1 -nfca -hnl -ip0 -nprs -saf -sai -saw -ci4 -cli0 -l200 $*
echo "$*" "is the new generated source file"
echo "$*~" "is the original source file"