diff --git a/conanfile.txt b/conanfile.txt index e7d044f7..8397c4d5 100644 --- a/conanfile.txt +++ b/conanfile.txt @@ -1,5 +1,5 @@ [requires] -cli11/1.9.1 +cli11/2.1.1 date/2.4.1 eigen/3.3.9 gtest/1.10.0 @@ -16,14 +16,12 @@ fmt/5.3.0@bincrafters/stable [generators] cmake cmake_find_package -virtualbuildenv virtualrunenv [options] gtest:shared=False librdkafka:shared=True flatbuffers:shared=True -hdf5:shared=True date:use_system_tz_db=True h5cpp:with_boost=False diff --git a/source/cmd/CMakeLists.txt b/source/cmd/CMakeLists.txt index c5484780..2f54b9bf 100644 --- a/source/cmd/CMakeLists.txt +++ b/source/cmd/CMakeLists.txt @@ -11,4 +11,3 @@ target_link_libraries( PRIVATE ${PROJECT_NAME}_producers PRIVATE ${PROJECT_NAME}_consumers ) - diff --git a/source/cmd/main.cpp b/source/cmd/main.cpp index b8328970..64b153d3 100644 --- a/source/cmd/main.cpp +++ b/source/cmd/main.cpp @@ -16,7 +16,7 @@ #include -#include +#include #ifdef BUILD_TIME #include "build_time.h" @@ -44,7 +44,7 @@ struct AcquireOptions AcquireOptions() { - app.add_option("-t,--time", duration, "How long shall we run?", true) + app.add_option("-t,--time", duration, "How long shall we run?") ->check(CLI::Range(uint64_t(1), std::numeric_limits::max())); app.add_option("-i,--input", profile_file, "DAQ producer config profile") ->check(CLI::ExistingFile);