diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-05-16 16:36:48 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-05-16 16:36:48 +0300 |
commit | e8ceb3b5d429c0b58d60c68cc0d00582eb0fd25a (patch) | |
tree | cf55a84d2978c35fb0c28334114c898c04265346 /src/common.cc | |
parent | a9a55d0d2da510f6094e321af5e374895d2c0250 (diff) |
add 'simple-json' format
Diffstat (limited to 'src/common.cc')
-rw-r--r-- | src/common.cc | 2 |
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") |