Document output::json_all().
This commit is contained in:
parent
42e5e52e1b
commit
a77b90c8b1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user