aboutsummaryrefslogtreecommitdiff
path: root/src/common.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.cc')
-rw-r--r--src/common.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.cc b/src/common.cc
index fbd1614..fb2acea 100644
--- a/src/common.cc
+++ b/src/common.cc
@@ -6,6 +6,8 @@
formatter::Format format_from_string(std::string& s) {
if (s == "json")
return formatter::Format::JSON;
+ else if (s == "simple-json")
+ return formatter::Format::SimpleJSON;
else if (s == "table")
return formatter::Format::Table;
else if (s == "simple-table")