diff options
Diffstat (limited to 'libdm/libdm-report.c')
-rw-r--r-- | libdm/libdm-report.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libdm/libdm-report.c b/libdm/libdm-report.c index f3a4c8b6..9e4002c0 100644 --- a/libdm/libdm-report.c +++ b/libdm/libdm-report.c @@ -263,9 +263,14 @@ static void _display_fields(struct dm_report *rh) if (*last_desc) log_print(" "); log_print("%s Fields", desc); + log_print("%*.*s", (int) strlen(desc) + 7, + (int) strlen(desc) + 7, + "------------------------------------------"); + } - log_print("- %-*s: %s", (int) id_len, rh->fields[f].id, rh->fields[f].desc); + /* FIXME Add line-wrapping at terminal width (or 80 cols) */ + log_print(" %-*s - %s", (int) id_len, rh->fields[f].id, rh->fields[f].desc); last_desc = desc; } } |