diff --git a/src/ebusd/ebusd.cpp b/src/ebusd/ebusd.cpp index fbc85345..aad7f47f 100644 --- a/src/ebusd/ebusd.cpp +++ b/src/ebusd/ebusd.cpp @@ -43,9 +43,12 @@ void define_args() A.addText("Options:\n"); - A.addOption("address", "a", OptVal("FF"), dt_string, ot_mandatory, + A.addOption("address", "a", OptVal(0xff), dt_hex, ot_mandatory, "\tebus device address (FF)"); + A.addOption("answer", "", OptVal(false), dt_bool, ot_none, + "\tanswers to requests from other devices"); + A.addOption("device", "d", OptVal("/dev/ttyUSB0"), dt_string, ot_mandatory, "\tebus device (serial or network) (/dev/ttyUSB0)");