svn: /pear/peardoc/trunk/en/package/php/php-codesniffer/ usage.xml

[email protected] (Greg Sherwood)
Newsgroups php.pear.doc
Message-ID <[email protected]>
squiz                                    Wed, 09 Sep 2009 04:25:19 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=288182

Log:
New usage string for phpcs showing new reporting options

Changed paths:
    U   pear/peardoc/trunk/en/package/php/php-codesniffer/usage.xml

Modified: pear/peardoc/trunk/en/package/php/php-codesniffer/usage.xml
===================================================================
--- pear/peardoc/trunk/en/package/php/php-codesniffer/usage.xml	2009-09-09 03:25:53 UTC (rev 288181)
+++ pear/peardoc/trunk/en/package/php/php-codesniffer/usage.xml	2009-09-09 04:25:19 UTC (rev 288182)
@@ -12,36 +12,36 @@
   <para>
    <screen>
 <![CDATA[
-Usage: phpcs [-nwlsvi] [--report=<report>] [--report-file=<reportfile>]
+Usage: phpcs [-nwlsvi] [--extensions=<extensions>] [--ignore=<patterns>]
+    [--report=<report>] [--report-width=<reportWidth>] [--report-file=<reportfile>]
     [--config-set key value] [--config-delete key] [--config-show]
     [--standard=<standard>] [--sniffs=<sniffs>]
-    [--extensions=<extensions>] [--ignore=<patterns>]
-    [--generator=<generator>] [--tab-width=<width>] <file> ...
-        -n           Do not print warnings
-        -w           Print both warnings and errors (on by default)
-        -l           Local directory only, no recursion
-        -s           Show sniff codes in all reports
-        -v[v][v]     Print verbose output
-        -i           Show a list of installed coding standards
-        --help       Print this help message
-        --version    Print version information
-        <file>       One or more files and/or directories to check
-        <extensions> A comma separated list of file extensions to check
-                     (only valid if checking a directory)
-        <patterns>   A comma separated list of patterns that are used
-                     to ignore directories and files
-        <sniffs>     A comma separated list of sniff codes to limit the check to
-                     (all sniffs must be part of the specified standard)
-        <standard>   The name of the coding standard to use
-        <width>      The number of spaces each tab represents
-        <generator>  The name of a doc generator to use
-                     (forces doc generation instead of checking)
-        <report>     Print either the "full", "xml", "checkstyle",
-                     "csv", "emacs", "source" or "summary" report
-                     (the "full" report is printed by default)
-        <reportfile> Write the report to the specified file path
-                     (report is also written to screen)
-
+    [--generator=<generator>] [--tab-width=<tabWidth>] <file> ...
+        -n            Do not print warnings
+        -w            Print both warnings and errors (on by default)
+        -l            Local directory only, no recursion
+        -s            Show sniff codes in all reports
+        -v[v][v]      Print verbose output
+        -i            Show a list of installed coding standards
+        --help        Print this help message
+        --version     Print version information
+        <file>        One or more files and/or directories to check
+        <extensions>  A comma separated list of file extensions to check
+                      (only valid if checking a directory)
+        <patterns>    A comma separated list of patterns that are used
+                      to ignore directories and files
+        <sniffs>      A comma separated list of sniff codes to limit the check to
+                      (all sniffs must be part of the specified standard)
+        <standard>    The name of the coding standard to use
+        <tabWidth>    The number of spaces each tab represents
+        <generator>   The name of a doc generator to use
+                      (forces doc generation instead of checking)
+        <report>      Print either the "full", "xml", "checkstyle",
+                      "csv", "emacs", "source", "summary" or "svnblame" report
+                      (the "full" report is printed by default)
+        <reportWidth> How many columns wide screen reports should be printed
+        <reportfile>  Write the report to the specified file path
+                      (report is also written to screen)
 ]]>
    </screen>
   </para>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.