Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add the indent command line to the coding style
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 4 Oct 2007 09:11:07 +0000 (09:11 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 4 Oct 2007 09:11:07 +0000 (09:11 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4781 48e7efb5-ca39-0410-a469-dd3cf9ba447f

README.coding

index 1faa329..10afe92 100644 (file)
@@ -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
+  <myfile>
+
+FIXME: this list of arguments is still to be discussed, maybe
 
 **
 ** Type naming standard