Merge branch 'master' of ctdb into 'master' of samba
[samba.git] / source3 / script / format_indent.sh
1 #!/bin/sh
2
3 # -npro Do no read the '.indent.pro' files.
4 # -kr   Use K&R formatting rules
5 # -i8   Set indentation level to 8 spaces.
6 # -ts8  Set tab size to 8 spaces
7 # -sob  Swallow optional blank lines.
8 # -l80  Set the maximum line length at 80 characters.
9 # -ss   On one-line for and while statments, force a blank before the semicolon
10 # -ncs  Do not put a space after cast operators.
11
12 indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"