diff --git a/src/lib/ebus/CMakeLists.txt b/src/lib/ebus/CMakeLists.txt index cf69c5e3..22b89d0c 100644 --- a/src/lib/ebus/CMakeLists.txt +++ b/src/lib/ebus/CMakeLists.txt @@ -16,6 +16,7 @@ if(HAVE_CONTRIB) endif(HAVE_CONTRIB) add_library(ebus ${libebus_a_SOURCES}) +target_link_libraries(ebus utils ${libebus_a_LIBS}) if(BUILD_TESTING) add_subdirectory(test) diff --git a/src/tools/ebusfeed.cpp b/src/tools/ebusfeed.cpp index 03cf903b..f423611f 100755 --- a/src/tools/ebusfeed.cpp +++ b/src/tools/ebusfeed.cpp @@ -108,6 +108,7 @@ int main(int argc, char* argv[]) { ebusd::argParseOpt parseOpt = { argDefs, parse_opt, + af_noVersion, "ebusfeed", "[DUMPFILE]", "Feed data from an " PACKAGE " DUMPFILE to a serial device.", @@ -120,6 +121,7 @@ int main(int argc, char* argv[]) { " 'ln -s /dev/pts/3 /dev/ttyUSB20'\n" " 3. start " PACKAGE ": '" PACKAGE " -f -d /dev/ttyUSB20 --nodevicecheck'\n" " 4. start ebusfeed: 'ebusfeed /path/to/ebus_dump.bin'", + nullptr, &opt }; int arg_index = -1;