]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
rrdupdate: fix options documentation
authorBenoît Monin <benoit.monin@gmx.fr>
Sat, 25 Apr 2015 10:02:44 +0000 (12:02 +0200)
committerBenoît Monin <benoit.monin@gmx.fr>
Sat, 25 Apr 2015 20:54:52 +0000 (22:54 +0200)
* Document skip-past-updates.
* Add short options '-s' and '-d' to rrdtool help.

doc/rrdupdate.pod
src/rrd_tool.c

index 58b8cae2ccdcda0e27be294fa85695c776e92905..144b2f875cdae8f6014b7fba9e4c9da0fb268ed6 100644 (file)
@@ -6,6 +6,7 @@ rrdupdate - Store a new set of values into the RRD
 
 B<rrdtool> {B<update> | B<updatev>} I<filename>
 S<[B<--template>|B<-t> I<ds-name>[B<:>I<ds-name>]...]>
+S<[B<--skip-past-updates>|B<-s>]>
 S<[B<--daemon>|B<-d> I<address>]> [B<-->]
 S<B<N>B<:>I<value>[B<:>I<value>]...>
 S<I<timestamp>B<:>I<value>[B<:>I<value>]...>
@@ -62,7 +63,7 @@ for the COMPUTE B<DST>.
 
 The caching daemon L<rrdcached> cannot be used together with templates yet.
 
-=item B<--skip-past-updates>
+=item B<--skip-past-updates>|B<-s>
 
 When updateing an rrd file with data earlier than the latest update already
 applied, rrdtool will issue an error message an abort. This option instructs
index 6e4fa60f76fcc528cec0d70c6ba599526d17e37c..6a2a2207538b10a109fb0eda3edd961bca9910f3 100644 (file)
@@ -105,8 +105,8 @@ void PrintUsage(
         N_("* update - update an RRD\n\n"
            "\trrdtool update filename\n"
            "\t\t[--template|-t ds-name:ds-name:...]\n"
-           "\t\t[--skip-past-updates]\n"
-          "\t\t[--daemon <address>]\n"
+           "\t\t[--skip-past-updates|-s]\n"
+          "\t\t[--daemon|-d <address>]\n"
            "\t\ttime|N:value[:value...]\n\n"
            "\t\tat-time@value[:value...]\n\n"
            "\t\t[ time:value[:value...] ..]\n");
@@ -116,7 +116,7 @@ void PrintUsage(
            "\treturns information about values, RRAs, and datasources updated\n\n"
            "\trrdtool updatev filename\n"
            "\t\t[--template|-t ds-name:ds-name:...]\n"
-           "\t\t[--skip-past-updates]\n"
+           "\t\t[--skip-past-updates|-s]\n"
            "\t\ttime|N:value[:value...]\n\n"
            "\t\tat-time@value[:value...]\n\n"
            "\t\t[ time:value[:value...] ..]\n");