cvs: peardoc /en/chapters standards.xml
| From: | Jan Lehnardt | Date: | Fri, 12 Jul 2002 16:53:57 +0000 |
| Subject: | cvs: peardoc /en/chapters standards.xml | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5078@lists.php.net to get a copy of this message | ||
jan Fri Jul 12 12:53:57 2002 EDT
Modified files:
/peardoc/en/chapters standards.xml
Log:
- add indent options
#thanks to Martin Jansen
Index: peardoc/en/chapters/standards.xml
diff -u peardoc/en/chapters/standards.xml:1.8 peardoc/en/chapters/standards.xml:1.9
--- peardoc/en/chapters/standards.xml:1.8 Mon May 27 14:37:41 2002
+++ peardoc/en/chapters/standards.xml Fri Jul 12 12:53:57 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<chapter id="standards">
<title>Coding Standards</title>
<note>
@@ -34,6 +34,15 @@
set softtabstop=4
set tabstop=4
</programlisting>
+ </para>
+ <para>
+ You can use the indent tool to properly indent your code.
+ Try out the following options:
+ <programlisting role="sh">
+ indent -nut -bap -br -ce -cli4 -ncs -ss -npcs -saf \
+ -sai -saw -nprs -bfda -psl -brs \
+ -lp -nbbo -hnl -i4 -ci4
+</programlisting>
</para>
</sect1>