better helpt text
This commit is contained in:
@@ -133,15 +133,14 @@ static string s_configPath = CONFIG_PATH;
|
|||||||
/** the definition of the known program arguments. */
|
/** the definition of the known program arguments. */
|
||||||
static const argDef argDefs[] = {
|
static const argDef argDefs[] = {
|
||||||
{nullptr, 0, nullptr, 0, "Device options:"},
|
{nullptr, 0, nullptr, 0, "Device options:"},
|
||||||
{"device", 'd', "DEV", 0, "Use DEV as eBUS device ("
|
{"device", 'd', "DEV", 0, "Use DEV as eBUS device [mdns:]\n"
|
||||||
"\"mdns:\" for auto discovery via mDNS ("
|
"- \"mdns:\" for auto discovery via mDNS with optional suffix \"[ID][@INTF]\" for using a specific"
|
||||||
"optional suffix with specific HW ID as well as specific IP interface after '@', "
|
" hardware ID and/or IP interface INTF for the discovery (only for eBUS Adapter Shield), or\n"
|
||||||
"otherwise: "
|
"- prefix \"ens:\" for enhanced high speed device,\n"
|
||||||
"prefix \"ens:\" for enhanced high speed device or "
|
"- prefix \"enh:\" for enhanced device, or\n"
|
||||||
"\"enh:\" for enhanced device, with "
|
"- no prefix for plain device, and\n"
|
||||||
"\"IP[:PORT]\" for network device or "
|
"- suffix \"IP[:PORT]\" for network device, or\n"
|
||||||
"\"DEVICE\" for serial device"
|
"- suffix \"DEVICE\" for serial device"},
|
||||||
") [mdns:]"},
|
|
||||||
{"nodevicecheck", 'n', nullptr, 0, "Skip serial eBUS device test"},
|
{"nodevicecheck", 'n', nullptr, 0, "Skip serial eBUS device test"},
|
||||||
{"readonly", 'r', nullptr, 0, "Only read from device, never write to it"},
|
{"readonly", 'r', nullptr, 0, "Only read from device, never write to it"},
|
||||||
{"initsend", O_INISND, nullptr, 0, "Send an initial escape symbol after connecting device"},
|
{"initsend", O_INISND, nullptr, 0, "Send an initial escape symbol after connecting device"},
|
||||||
|
|||||||
Reference in New Issue
Block a user