From 2afa0652f49599e4ff60d4e7a626a864f32ef38b Mon Sep 17 00:00:00 2001 From: Alexey Rybalchenko Date: Mon, 23 Nov 2015 11:28:15 +0100 Subject: [PATCH] Extend DDS Example to use command interface --- fairmq/options/FairMQProgOptions.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/fairmq/options/FairMQProgOptions.cxx b/fairmq/options/FairMQProgOptions.cxx index 4c68f810..24190791 100644 --- a/fairmq/options/FairMQProgOptions.cxx +++ b/fairmq/options/FairMQProgOptions.cxx @@ -93,13 +93,14 @@ int FairMQProgOptions::ParseAll(const int argc, char** argv, bool allowUnregiste if (!optionExists) { - LOG(ERROR) << "Required options to configure the MQ device are not provided."; - LOG(ERROR) << "Please provide the value of one of the following key:"; + LOG(WARN) << "Options to configure FairMQ channels are not provided."; + LOG(WARN) << "Please provide the value for one of the following keys:"; for (const auto& p : MQParserKeys) { - LOG(ERROR) << p; + LOG(WARN) << p; } - return 1; + LOG(WARN) << "No channels will be created (You can still fill these manually)."; + // return 1; } return 0;