Add blank line after each item in "ngctl ls -l"

The output of "ngctl ls -l" is hard to read. To make it easier, add a blank
line after each listed item much how traditional "ls -l" does when listing
the contents of multiple directories.

Sponsored by:	Smule, Inc.
This commit is contained in:
Devin Teske 2018-10-26 19:16:17 +00:00
parent 6951c4eebc
commit bb22479803
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339783

View File

@ -125,6 +125,8 @@ ListCmd(int ac, char **av)
break;
ninfo++;
nlist->numnames--;
if (nlist->numnames > 0)
printf("\n");
}
} else {
while (nlist->numnames > 0) {