mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-15 09:58:40 -07:00
FIX ocat usage
This commit is contained in:
parent
f69bb4b1a9
commit
d494540161
29
ocat.c
29
ocat.c
@ -121,22 +121,23 @@ void usage(char *prog)
|
||||
printf(" --device devicename -d specify device name ($OCAT_DEVICE)\n");
|
||||
printf(" --from <time> -F from date/time; default -6H\n");
|
||||
printf(" --to <time> -T to date/time; default now\n");
|
||||
printf(" specify <time> as YYYY-MM-DDTHH:MM:SS\n");
|
||||
printf(" YYYY-MM-DDTHH:MM\n");
|
||||
printf(" YYYY-MM-DDTHH\n");
|
||||
printf(" YYYY-MM-DD\n");
|
||||
printf(" YYYY-MM\n");
|
||||
printf(" --limit <number> -N last <number> points\n");
|
||||
printf(" --format json -f output format (default: JSON)\n");
|
||||
printf(" csv (overrides $OCAT_FORMAT\n");
|
||||
printf(" geojson\n");
|
||||
printf(" specify <time> as YYYY-MM-DDTHH:MM:SS\n");
|
||||
printf(" YYYY-MM-DDTHH:MM\n");
|
||||
printf(" YYYY-MM-DDTHH\n");
|
||||
printf(" YYYY-MM-DD\n");
|
||||
printf(" YYYY-MM\n");
|
||||
printf(" --limit <number> -N last <number> points\n");
|
||||
printf(" --format json -f output format (default: JSON)\n");
|
||||
printf(" csv (overrides $OCAT_FORMAT\n");
|
||||
printf(" geojson Geo-JSON points\n");
|
||||
printf(" linestring Geo-JSON LineString\n");
|
||||
printf(" gpx\n");
|
||||
printf(" raw\n");
|
||||
printf(" payload\n");
|
||||
printf(" --fields tst,lat,lon,... Choose fields for CSV. (dflt: ALL)\n");
|
||||
printf(" --last -L JSON object with last users\n");
|
||||
printf(" --killdata requires -u and -d\n");
|
||||
printf(" --storage -S storage dir (./store)\n");
|
||||
printf(" payload Like RAW but JSON payload only\n");
|
||||
printf(" --fields tst,lat,lon,... Choose fields for CSV. (dflt: ALL)\n");
|
||||
printf(" --last -L JSON object with last users\n");
|
||||
printf(" --killdata requires -u and -d\n");
|
||||
printf(" --storage -S storage dir (./store)\n");
|
||||
printf("\n");
|
||||
printf("Options override these environment variables:\n");
|
||||
printf(" $OCAT_USERNAME\n");
|
||||
|
Loading…
Reference in New Issue
Block a user