diff options
Diffstat (limited to 'script/mwrap-perl')
-rw-r--r-- | script/mwrap-perl | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/script/mwrap-perl b/script/mwrap-perl index 371aee6..cf88375 100644 --- a/script/mwrap-perl +++ b/script/mwrap-perl @@ -70,31 +70,31 @@ This may be changed via POST request (see below). Default: 0 -=item dump_path:$FILENAME +=item dump_csv:$FILENAME -Dumps the output at exit to a given filename: +Dump CSV to the given filename. - total_bytes call_count location +This output matches the HTTP server output and includes column headers, +but is subject to change in future releases. + +C<dump_csv> without the C<:> may also be used in conjunction with +C<dump_fd>, such as C<MWRAP=dump_fd:2,dump_csv>. C<$FILENAME> may contain C<%p> where C<%p> is a placeholder for the PID being dumped. No other use of C<%> is accepted, and multiple C<%> means all C<%> (including C<%p>) are handled as-is. -=item dump_fd:$DESCRIPTOR - -As with dump_path, but dumps the output to a given file descriptor. +=item dump_path:$FILENAME -=item dump_csv:$FILENAME +Gives a simpler, legacy output compatible with the old Ruby version: -Dump CSV to the given filename. + total_bytes call_count location -This output matches the HTTP server output and includes column headers, -but is subject to change in future releases. +Expands C<%p> to the PID in C<$FILENAME> as described for C<dump_csv> -C<dump_csv> without the C<:> may also be used in conjunction with -C<dump_fd>, such as C<MWRAP=dump_fd:2,dump_csv>. +=item dump_fd:$DESCRIPTOR -Expands C<%p> to the PID in C<$FILENAME> as described for C<dump_path:> +As with dump_path, but dumps the output to a given file descriptor. =back |