cvs: peardoc /en/package/php/php-compatinfo cli.xml
| From: | Laurent Laville | Date: | Wed, 02 Jul 2008 20:54:18 +0000 |
| Subject: | cvs: peardoc /en/package/php/php-compatinfo cli.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10929@lists.php.net to get a copy of this message | ||
farell Wed Jul 2 20:54:18 2008 UTC
Modified files:
/peardoc/en/package/php/php-compatinfo cli.xml
Log:
complete CLI doc for all others switch ( -o, -p, -S, -V )
http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/cli.xml?r1=1.10&r2=1.11&diff_format=u
Index: peardoc/en/package/php/php-compatinfo/cli.xml
diff -u peardoc/en/package/php/php-compatinfo/cli.xml:1.10
peardoc/en/package/php/php-compatinfo/cli.xml:1.11
--- peardoc/en/package/php/php-compatinfo/cli.xml:1.10 Wed Jun 25 20:56:15 2008
+++ peardoc/en/package/php/php-compatinfo/cli.xml Wed Jul 2 20:54:18 2008
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<refentry id="package.php.php-compatinfo.cli">
<refnamediv>
<refname>CLI</refname>
@@ -514,6 +514,93 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <parameter>-p</parameter> | <parameter>--progress</parameter> [ bar
| text ]
+ </term>
+ <listitem>
+ <para>
+ Show a progress <literal>bar</literal> (if PEAR::Console_ProgressBar is
installed)
+ or a simple <literal>text</literal> wait message when parsing a directory.
+ </para>
+ <para>
+ <note>
+ <para>
+ If you specify --progress bar and PEAR::Console_ProgressBar is not available,
+ then default display will be text wait message (without giving an error), as
+ if you have specified --progress text instead
+ </para>
+ </note>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <parameter>-S</parameter> | <parameter>--summarize</parameter>
+ </term>
+ <listitem>
+ <para>
+ Print only the summary of parsing result for a directory, rather than
+ full details file by file (default).
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <parameter>-V</parameter> | <parameter>--version</parameter>
+ </term>
+ <listitem>
+ <para>
+ Print only the current version information
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <parameter>-o</parameter> | <parameter>--output-level</parameter>
+ </term>
+ <listitem>
+ <para>
+ Allow to filter data type (column) you want on standard output (console).
+ From all details (31=default) to only file name (=0)
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis role="bold">0:</emphasis> file name
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">1:</emphasis> conditional code
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">2:</emphasis> extensions
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">4:</emphasis> constants
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">8:</emphasis> tokens
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">16:</emphasis> version
+ </para>
+ </listitem>
+ </itemizedlist>
+ <emphasis role="bold">output_level</emphasis> is binary value. So to
have,
+ for example, only file name (always mandatory) with version and extensions,
+ you have to give value <emphasis role="bold">18</emphasis> (16 + 2).
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect2>