diff --git a/CommandLineInterface.cpp b/CommandLineInterface.cpp index 5e4c901f3..eadc6c56f 100644 --- a/CommandLineInterface.cpp +++ b/CommandLineInterface.cpp @@ -380,6 +380,9 @@ bool CommandLineInterface::processInput() void CommandLineInterface::handleCombinedJSON() { + if (!m_args.count("combined-json")) + return; + Json::Value output(Json::objectValue); set requests;