mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Adjust report field help description layout.
This commit is contained in:
parent
66ed1bc5e1
commit
5c46d66871
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user