Skip to content

Commit 05f3685

Browse files
committed
fix-unit-occupancy: Always provide feedback when running command
1 parent d09cdc8 commit 05f3685

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

plugins/fix-unit-occupancy.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,9 @@ command_result cmd_fix_unit_occupancy (color_ostream &out, std::vector <std::str
230230
if (!ok)
231231
return CR_WRONG_USAGE;
232232

233-
fix_unit_occupancy(out, opts);
233+
unsigned count = fix_unit_occupancy(out, opts);
234+
if (!count)
235+
out << "No occupancy issues found." << endl;
234236

235237
return CR_OK;
236238
}

0 commit comments

Comments
 (0)