[GRASS5] Code Formatting

Glynn Clements glynn at gclements.plus.com
Fri Apr 21 11:06:05 EDT 2006

Hamish wrote:

> This has been added to the SUBMITTING file not long ago:
> 14. To promote a consistent coding style, please use the "indent" program
>     on all new C modules using the following switches:
>      $ indent -nbad -bap -bbb -nbbo -nbc -br -bli1 -bls -cbi0 -ncdb -nce \
>         -ci4 -cli0 -ncs -d0 -di0 -fc1 -nfca -hnl -i4 -ip4 -l80 -lc80 -lp \
> 	-npcs -pi4 -nprs -npsl -sbi0 -sc -nsob -ss -ts8  main.c

Any objections to changing:

	-bli1	->	-bli0
	-br	->	-bl

Does anyone else have specific preferences?

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list