=head1 SYNOPSIS
B<rrdtool> B<flushcached>
-S<[B<--daemon> I<address>]>
+S<[B<--daemon>|B<-d> I<address>]>
I<filename> [I<filename> ...]
=head1 DESCRIPTION
The name(s) of the B<RRD> file(s) that are to be written to disk.
-=item B<--daemon> I<address>
+=item B<--daemon>|B<-d> I<address>
Address of the L<rrdcached> daemon. If not specified, the
RRDCACHED_ADDRESS environment variable must be set (see below). For a
break;
default:
- rrd_set_error ("Usage: rrdtool %s [--daemon <addr>] <file>",
+ rrd_set_error ("Usage: rrdtool %s [--daemon|-d <addr>] <file>",
argv[0]);
return (-1);
}
if ((argc - optind) < 1)
{
- rrd_set_error ("Usage: rrdtool %s [--daemon <addr>] <file> [<file> ...]", argv[0]);
+ rrd_set_error ("Usage: rrdtool %s [--daemon|-d <addr>] <file> [<file> ...]", argv[0]);
return (-1);
}
const char *help_flushcached =
N_("* flushcached - flush cached data out to an RRD file\n\n"
"\trrdtool flushcached filename.rrd\n"
- "\t\t[--daemon <address>]\n");
+ "\t\t[-d|--daemon <address>]\n");
/* break up very large strings (help_graph, help_tune) for ISO C89 compliance*/