Document output::json_all().

This commit is contained in:
tastytea 2021-06-08 04:26:29 +02:00
parent 42e5e52e1b
commit a77b90c8b1
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 1 deletions

View File

@ -128,7 +128,7 @@ void json_all(const std::vector<std::vector<search::match>> &matches_all)
}
}
std::cout << json.dump() << '\n';
cout << json.dump() << '\n';
}
} // namespace epubgrep::output

View File

@ -29,6 +29,7 @@ namespace epubgrep::output
void print_matches(const std::vector<search::match> &matches,
const options::options &opts, bool single_file);
//! Print all matches as JSON.
void json_all(const std::vector<std::vector<search::match>> &matches_all);
} // namespace epubgrep::output