codman: Add blank line after file list in dirs output

When showing files within directories (dirs -fs), there is no visual
separation between one directory's files and the next directory. Add
a blank line after each file list to improve readability.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
Simon Glass
2025-12-08 17:08:47 -07:00
parent fc6290be35
commit d0cc800516

View File

@@ -403,6 +403,9 @@ def print_dir_stats(dir_stats, file_results, by_subdirs, show_files,
# Show file-level only
print(f" {filename:<38} {info['total']:>7} lines")
# Add blank line after file list
print()
def show_dir_breakdown(all_sources, used_sources, file_results, srcdir,
by_subdirs, show_files, show_empty):