ctl-client: Remove messages about how many clients/outputs there are

When you type "ls", it doesn't tell you how many files there are.
If the user wants to know that, they can use "wc -l" or count them.
wayvncctl-polishing
Andri Yngvason 2023-01-15 17:19:51 +00:00
parent 7ac8154448
commit b1f0146306
1 changed files with 0 additions and 9 deletions

View File

@ -350,11 +350,6 @@ static void pretty_version(json_t* data)
static void pretty_client_list(json_t* data)
{
int n = json_array_size(data);
printf("There %s %d VNC client%s connected%s\n", (n == 1) ? "is" : "are",
n, (n == 1) ? "" : "s", (n > 0) ? ":" : ".");
size_t i;
json_t* value;
json_array_foreach(data, i, value) {
@ -375,10 +370,6 @@ static void pretty_client_list(json_t* data)
static void pretty_output_list(json_t* data)
{
int n = json_array_size(data);
printf("There %s %d output%s%s\n", (n == 1) ? "is" : "are",
n, (n == 1) ? "" : "s", (n > 0) ? ":" : ".");
size_t i;
json_t* value;
json_array_foreach(data, i, value) {