format output fields better
This commit is contained in:
parent
b4c2a42a86
commit
fde456e592
@ -460,7 +460,7 @@ int main(int argc, char *argv[])
|
|||||||
5);
|
5);
|
||||||
if (args.list_output_fields_given) {
|
if (args.list_output_fields_given) {
|
||||||
for (int i = 0; i < fds->len; i++) {
|
for (int i = 0; i < fds->len; i++) {
|
||||||
printf("%s (%s): %s\n", fds->fielddefs[i].name,
|
printf("%-15s %6s: %s\n", fds->fielddefs[i].name,
|
||||||
fds->fielddefs[i].type,
|
fds->fielddefs[i].type,
|
||||||
fds->fielddefs[i].desc);
|
fds->fielddefs[i].desc);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user