Improved help text.

pull/5/head
weetmuts 2018-03-05 11:39:30 +01:00
rodzic 680525b75d
commit 65d49a49ba
2 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -14,8 +14,8 @@ Usage: wmbusmeters {options} (auto | /dev/ttyUSBx)] { [meter_name] [meter_type]
Add more meter quadruplets to listen to more meters.
Add --verbose for detailed debug information.
--robot or --robot=json for json output.
--robot=fields for semicolon separated fields
--separator=X change field separator to X
--robot=fields for semicolon separated fields.
--separator=X change field separator to X.
--meterfiles to create status files below tmp,
named /tmp/meter_name, containing the latest reading.
--oneshot wait for an update from each meter, then quit.

Wyświetl plik

@ -40,7 +40,9 @@ int main(int argc, char **argv)
printf("Usage: wmbusmeters [options] (auto | /dev/ttyUSBx) { [meter_name] [meter_type] [meter_id] [meter_key] }* \n\n");
printf("Add more meter quadruplets to listen to more meters.\n");
printf("Add --verbose for more detailed information on communication.\n");
printf(" --robot for json output.\n");
printf(" --robot or --robot=json for json output.\n");
printf(" --robot=fields for semicolon separated fields.\n");
printf(" --separator=X change field separator to X.\n");
printf(" --meterfiles to create status files below tmp,\n"
" named /tmp/meter_name, containing the latest reading.\n");
printf(" --oneshot wait for an update from each meter, then quit.\n\n");