<refentryinfo>
<productname>sarg</productname>
- <date>27 Nov 2010</date>
-
+ <date>27 May 2012</date>
+
<author>
<firstname>Frédéric</firstname>
<surname>Marchal</surname>
<contrib>Docbook version of the manual page</contrib>
<email>fmarchal@users.sourceforge.net</email>
</author>
-
+
<author>
<firstname>Billy</firstname>
<surname>Newsom</surname>
<contrib>Author of the first manual page</contrib>
<email>gangitano@lugroma3.org</email>
</author>
-
+
<copyright>
- <year>2010</year>
+ <year>2012</year>
<holder>Frédéric Marchal</holder>
</copyright>
</refentryinfo>
<variablelist>
-<varlistentry><term><option>-h</option></term>
+<varlistentry><term><option>-h</option> <option>--help</option></term>
<listitem>
<para>
Show summary of options.
<para>
Use <replaceable>date</replaceable> to restrict the report to some date range during log file processing.
Format for <replaceable>date</replaceable> is <userinput>dd/mm/yyyy-dd/mm/yyyy</userinput>
-or a single date <userinput>dd/mm/yyyy</userinput>. Date ranges can also be specified as
+or a single date <userinput>dd/mm/yyyy</userinput>. Date ranges can also be specified as
<parameter>day-<constant>n</constant></parameter>, <parameter>week-<constant>n</constant></parameter>,
or <parameter>month-<constant>n</constant></parameter> where <constant>n</constant>
is the number of days, weeks or months to jump backward. Note that there is no spaces around the hyphen.
</listitem>
</varlistentry>
+<varlistentry><term><option>-m</option></term>
+<listitem>
+<para>
+Enable advanced processing debug messages. This option produces an enourmous amount of output.
+</para>
+</listitem>
+</varlistentry>
+
<varlistentry><term><option>-n</option></term>
<listitem>
<para>
</listitem>
</varlistentry>
+<varlistentry><term><option>-P <replaceable>prefix</replaceable></option> <option>--splitprefix <replaceable>prefix</replaceable></option></term>
+<listitem>
+<para>
+This option must be used with <option>--split</option>. If it is provided, the input log is split among
+several files each containing one day. The name of the output files is made of the <replaceable>prefix</replaceable>
+and the date formated as <literal>-YYYY-MM-DD</literal>.
+</para>
+<para>
+The output files are written in the output directory
+specified with <option>-o</option> or in the current directory.
+</para>
+</listitem>
+</varlistentry>
+
+<varlistentry><term><option>-r</option></term>
+<listitem>
+<para>
+Output the realtime report on the standard output and exit.
+</para>
+</listitem>
+</varlistentry>
+
<varlistentry><term><option>-s <replaceable>string</replaceable></option></term>
<listitem>
<para>
If it is combined with <option>--convert</option>
the dates are also converted to a human-readable format.
</para>
+<para>
+Combined with <option>-P</option>, the log is written in several files each containing one day of the
+original log.
+</para>
+</listitem>
+</varlistentry>
+
+<varlistentry><term><option>--statistics</option></term>
+<listitem>
+<para>
+Writes some statistics about the execution time. The statistics include the
+total execution time; the number of records read in the input log files and the
+time it took to read them; the number of records and users processed and the
+time it took to process them.
+</para>
</listitem>
</varlistentry>
</listitem>
</varlistentry>
+<varlistentry><term><option>-v</option></term>
+<listitem>
+<para>
+Write sarg version and exit.
+</para>
+</listitem>
+</varlistentry>
+
<varlistentry><term><option>-w <replaceable>dir</replaceable></option></term>
<listitem>
<para>