From: mquinson Date: Thu, 4 Oct 2007 09:11:07 +0000 (+0000) Subject: Add the indent command line to the coding style X-Git-Tag: v3.3~1010 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e079e43cf0e786701cac6cb851f905f11bdbef64 Add the indent command line to the coding style git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4781 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/README.coding b/README.coding index 1faa329184..10afe92e90 100644 --- a/README.coding +++ b/README.coding @@ -64,7 +64,14 @@ The tree is not splited on projects, but on file finality: ***************************************************** Most files use the Kernighan & Ritchie coding style with 2 spaces of -indentation. The indent program can help you to stick to it. :) +indentation. The indent program can help you to stick to it: + +indent -br -brs -ce -bbo -bad -bap --dont-break-procedure-type + --no-tabs --cuddle-do-while --cuddle-else --indent-level2 + --leave-preprocessor-space --no-space-after-function-call-names + + +FIXME: this list of arguments is still to be discussed, maybe ** ** Type naming standard