1 /*****************************************************************************
2 * RRDtool 1.2.23 Copyright by Tobi Oetiker, 1997-2007
3 *****************************************************************************
4 * rrdupdate.c Main program for the (standalone) rrdupdate utility
5 *****************************************************************************
7 *****************************************************************************/
9 #if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__) && !defined(HAVE_CONFIG_H)
10 #include "../win32/config.h"
13 #include "../rrd_config.h"
23 rrd_update(argc, argv);
24 if (rrd_test_error()) {
25 printf("RRDtool " PACKAGE_VERSION
26 " Copyright by Tobi Oetiker, 1997-2007\n\n"
27 "Usage: rrdupdate filename\n"
28 "\t\t\t[--template|-t ds-name:ds-name:...]\n"
29 "\t\t\ttime|N:value[:value...]\n\n"
30 "\t\t\tat-time@value[:value...]\n\n"
31 "\t\t\t[ time:value[:value...] ..]\n\n");
33 printf("ERROR: %s\n", rrd_get_error());