aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CommandLineInterface.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/CommandLineInterface.cpp b/CommandLineInterface.cpp
index 0cc1ab25..d5ff7b29 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<string> requests;