S<[B<--step>|B<-s> I<step>]>
S<[B<--template>|B<-t> I<template-file>]>
S<[B<--source>|B<-r> I<source-file>]>
-S<[B<--no-overwrite>]>
-S<[B<--daemon> I<address>]>
+S<[B<--no-overwrite>|B<-O>]>
+S<[B<--daemon>|B<-d> I<address>]>
S<[B<DS:>I<ds-name>[B<=>I<mapped-ds-name>[B<[>I<source-index>B<]>]]B<:>I<DST>B<:>I<dst arguments>]>
S<[B<RRA:>I<CF>B<:>I<cf arguments>]>
A scaling factor may be present as a suffix to the integer; see
L<"STEP, HEARTBEAT, and Rows As Durations">.
-=head2 B<--no-overwrite>
+=head2 B<--no-overwrite>|B<-O>
Do not clobber an existing file of the same name.
-=head2 B<--daemon> I<address>
+=head2 B<--daemon>|B<-d> I<address>
Address of the L<rrdcached> daemon. For a list of accepted formats, see
the B<-l> option in the L<rrdcached> manual.
opterr = 0; /* initialize getopt */
while (1) {
- opt = getopt_long(argc, argv, "Ob:s:d:", long_options, &option_index);
+ opt = getopt_long(argc, argv, "b:s:d:r:t:O", long_options, &option_index);
if (opt == EOF)
break;
N_("* create - create a new RRD\n\n"
"\trrdtool create filename [--start|-b start time]\n"
"\t\t[--step|-s step]\n"
+ "\t\t[--template|-t template-file]\n"
+ "\t\t[--source|-r source-file]\n"
"\t\t[--no-overwrite|-O]\n"
+ "\t\t[--daemon|-d address]\n"
"\t\t[DS:ds-name:DST:dst arguments]\n"
"\t\t[RRA:CF:cf arguments]\n");