From 1fa47f8deafed3263ecdf5b0eb4807b77cfbb868 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Fri, 2 Nov 2012 13:15:51 +0100 Subject: cmdutils: allow to set the report file name. The file name can be set by setting the FFREPORT environment variable to "file=something". Fix trac ticket #1823. --- doc/avtools-common-opts.texi | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/avtools-common-opts.texi b/doc/avtools-common-opts.texi index 1fc12aa966..d43ff6e015 100644 --- a/doc/avtools-common-opts.texi +++ b/doc/avtools-common-opts.texi @@ -151,8 +151,20 @@ directory. This file can be useful for bug reports. It also implies @code{-loglevel verbose}. -Note: setting the environment variable @code{FFREPORT} to any value has the -same effect. +Setting the environment variable @code{FFREPORT} to any value has the same +effect. If the value is a ':'-separated key=value sequence, these options +will affect the report; options values must be +@ref{quoting_and_escaping, escaped} if they contain special characters or +the options delimiter ':'. The following option is recognized: +@table @option +@item file +set the file name to use for the report; @code{%p} is expanded to the name +of the program, @code{%t} is expanded to a timestamp, @code{%%} is expanded +to a plain @code{%} +@end table + +Errors in parsing the environment variable are not fatal, and will not +appear in the report. @item -cpuflags flags (@emph{global}) Allows setting and clearing cpu flags. This option is intended -- cgit v1.2.3