X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_xport.c;h=a063c87766413744ed9fd5291ce3fa646a172b0b;hp=21110b84705e66a4efa209287bfae31985a2a69c;hb=ad6f3441d407ca0c82b86b481f697ca913844d54;hpb=7d0d6b07c9f5bd5dfd99aa7fe9826eebf2181f1f diff --git a/src/rrd_xport.c b/src/rrd_xport.c index 21110b8..a063c87 100644 --- a/src/rrd_xport.c +++ b/src/rrd_xport.c @@ -58,14 +58,14 @@ int rrd_xport( time_t start_tmp = 0, end_tmp = 0; struct rrd_time_value start_tv, end_tv; char *parsetime_error = NULL; - struct option long_options[] = { - {"start", required_argument, 0, 's'}, - {"end", required_argument, 0, 'e'}, - {"maxrows", required_argument, 0, 'm'}, - {"step", required_argument, 0, 261}, - {"enumds", no_argument, 0, 262}, /* these are handled in the frontend ... */ - {0, 0, 0, 0} - }; + struct option long_options[] = { + {"start", required_argument, 0, 's'}, + {"end", required_argument, 0, 'e'}, + {"maxrows", required_argument, 0, 'm'}, + {"step", required_argument, 0, 261}, + {"enumds", no_argument, 0, 262}, /* these are handled in the frontend ... */ + {0, 0, 0, 0} + }; optind = 0; opterr = 0; /* initialize getopt */