+<para>Name of the configuration to process. If no configuration name is
+specified, amanda.conf is read from the current directory.</para>
+ </listitem>
+ </varlistentry>
+ &configoverride.varlistentry;
+</variablelist>
+
+<para>Amreport operates in two distinct modes. Command-line mode is intended for use
+by an administrator from the command line, and uses long command-line options
+for clarity. Script mode is intended for use from scripts such as amdump, and
+has a lot of non-obvious default behaviors to suit that need.</para>
+
+<para>Unless a script-mode option is given, amreport defaults to command-line mode.
+If no options are given, amreport writes a report for the most recent logfile to
+stdout.</para>
+
+<refsect2><title>Command-Line Mode Options</title>
+<variablelist remap='TP'>
+ <varlistentry>
+ <term><option>--log=<replaceable>logfile</replaceable></option></term>
+ <listitem>
+<para>Use this logfile as the basis for the report. If this option is given, then
+the report is a "historical" report and will not include current state from
+e.g., holding disk and curinfo. If this option is not specified, then the
+most recent logfile will be used.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--ps=<replaceable>filename</replaceable></option></term>
+ <listitem>
+<para>Write a postscript label to <replaceable>filename</replaceable>.
+See "LABEL PRINTING" below. If filename is not specified, then the
+label is written to stdout.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--text=<replaceable>filename</replaceable></option></term>
+ <listitem>
+<para>Write a human-readable text report to <replaceable>filename</replaceable>.
+If filename is not specified, then the report is written to stdout.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--xml=<replaceable>filename</replaceable></option></term>
+ <listitem>
+<para>Write an XML-formatted report to <replaceable>filename</replaceable>.
+If filename is not specified, then the report is written to stdout.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--print=<replaceable>printer</replaceable></option></term>
+ <listitem>
+<para>Pipe a postscript label to <command>lp</command> or <command>lpr</command>,
+specifying the given <replaceable>printer</replaceable>. If the printer is
+not specified, uses the default from the Amanda configuration, or the system
+default printer.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--mail-text=<replaceable>recipient</replaceable></option></term>
+ <listitem>
+<para>Send a human-readable text report to the given <replaceable>recipient</replaceable> via
+the mailer specified in the Amanda configuration. If the recipient is
+not specified, this uses the <emphasis>mailto</emphasis> from the Amanda configuration.</para>