mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
6951c4eebc
commit
bb22479803
1 changed files with 2 additions and 0 deletions
|
|
@ -125,6 +125,8 @@ ListCmd(int ac, char **av)
|
|||
break;
|
||||
ninfo++;
|
||||
nlist->numnames--;
|
||||
if (nlist->numnames > 0)
|
||||
printf("\n");
|
||||
}
|
||||
} else {
|
||||
while (nlist->numnames > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue