From b805cfeb6bf584f49a6793581739c47953ea2c66 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 31 Jan 2021 20:29:55 +0100 Subject: [PATCH] add enhanced device info to help --- src/ebusd/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ebusd/main.cpp b/src/ebusd/main.cpp index 3c6d53ff..80a0d2b7 100644 --- a/src/ebusd/main.cpp +++ b/src/ebusd/main.cpp @@ -180,7 +180,9 @@ static const char argpdoc[] = /** the definition of the known program arguments. */ static const struct argp_option argpoptions[] = { {nullptr, 0, nullptr, 0, "Device options:", 1 }, - {"device", 'd', "DEV", 0, "Use DEV as eBUS device (serial or [udp:]ip:port) [/dev/ttyUSB0]", 0 }, + {"device", 'd', "DEV", 0, "Use DEV as eBUS device (" + "\"enh:DEVICE\" or \"enh:IP:PORT\" for enhanced device," + "\"DEVICE\" for serial device, or \"[udp:]IP:PORT\" for network device) [/dev/ttyUSB0]", 0 }, {"nodevicecheck", 'n', nullptr, 0, "Skip serial eBUS device test", 0 }, {"readonly", 'r', nullptr, 0, "Only read from device, never write to it", 0 }, {"initsend", O_INISND, nullptr, 0, "Send an initial escape symbol after connecting device", 0 },