From bb22479803b1c621d8f0599cfaf6cc1fa3fce88b Mon Sep 17 00:00:00 2001 From: Devin Teske Date: Fri, 26 Oct 2018 19:16:17 +0000 Subject: [PATCH] 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. --- usr.sbin/ngctl/list.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.sbin/ngctl/list.c b/usr.sbin/ngctl/list.c index da4174c27e7..ae64dea8800 100644 --- a/usr.sbin/ngctl/list.c +++ b/usr.sbin/ngctl/list.c @@ -125,6 +125,8 @@ ListCmd(int ac, char **av) break; ninfo++; nlist->numnames--; + if (nlist->numnames > 0) + printf("\n"); } } else { while (nlist->numnames > 0) {