Skip to content

Commit

Permalink
Print line before printing the type of problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryouze committed Sep 23, 2024
1 parent 0e6593f commit 254b600
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ After running header-warden, you will receive a report that lists all standard l
-- 2) UNUSED FUNCTIONS --
-> Unused functions listed as comments.
11| #include <algorithm> // for std::find
-> Unused functions listed as comments.
-> Remove 'std::find' comments from '#include <algorithm> // for std::find'.
-- 3) UNLISTED FUNCTIONS --
Expand Down
2 changes: 1 addition & 1 deletion src/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ void app::run(const int argc,
fmt::print("-- 2) UNUSED FUNCTIONS --\n\n");
if (args.enable.unused) {
for (const auto &entry : parser.get_unused_functions()) {
fmt::print("-> Unused functions listed as comments.\n");
fmt::print("{}| {}\n", entry.number, entry.text);
fmt::print("-> Unused functions listed as comments.\n");
fmt::print("-> Remove '{}' comments from '{}'.\n\n", fmt::join(entry.unused_functions, "', '"), entry.text);
}
}
Expand Down

0 comments on commit 254b600

Please sign in to comment.