Always have access to FairMQProgOptions from device.

This commit is contained in:
Alexey Rybalchenko
2017-05-17 08:48:11 +02:00
committed by Mohammad Al-Turany
parent 7bb6a2eed9
commit f4e5a74f23
3 changed files with 48 additions and 5 deletions

View File

@@ -110,14 +110,12 @@ void FairMQProgOptions::ParseAll(const int argc, char** argv, bool allowUnregist
if (!optionExists)
{
LOG(WARN) << "Options to configure FairMQ channels are not provided.";
LOG(WARN) << "Please provide the value for one of the following keys:";
LOG(WARN) << "FairMQProgOptions: no channels configuration provided via neither of:";
for (const auto& p : MQParserKeys)
{
LOG(WARN) << p;
LOG(WARN) << " --" << p;
}
LOG(WARN) << "No channels will be created (You can create them manually).";
// return 1;
}
else
{