oetiker / rrdtool-1.x

RRDtool 1.x - Round Robin Database
http://www.rrdtool.org
GNU General Public License v2.0
987 stars 257 forks source link

Missing short name argument for "--step" in rrdtool_xport #1103

Open addendumE opened 3 years ago

addendumE commented 3 years ago

While rrdtool_graph accepts "-S" for "--step" argument, rrdtool_xport seems not to have the same feature. This is important for me because I need to call rrdtool_xport from C code and it seems that can use only short names for arguments.

For example: rdtool xport DEF:[...].rrdb:value:AVERAGE --step 1800 --end now --start now-1d XPORT:ds0

works fine, but: rrdtool xport DEF:[...].rrdb:value:AVERAGE -S 1800 -e now -s now-1d XPORT:ds0 outputs: ERROR: invalid option -- 'S'

oetiker commented 3 years ago

PR welcome!