ctl-client: Remove decorations in client/output lists

Those decorations do not appear to improve readability or
parsability.
srht-ci
Andri Yngvason 2023-01-15 17:24:55 +00:00
parent d8bc5cd328
commit 5d1421a063
1 changed files with 2 additions and 2 deletions

View File

@ -359,7 +359,7 @@ static void pretty_client_list(json_t* data)
json_unpack(value, "{s:s, s?s, s?s}", "id", &id, "hostname",
&hostname, "username", &username);
printf(" client[%s]: ", id);
printf(" %s: ", id);
if (username)
printf("%s@", username);
@ -384,7 +384,7 @@ static void pretty_output_list(json_t* data)
"height", &height,
"width", &width,
"captured", &captured);
printf("%s output[%s]: %s (%dx%d)\n",
printf("%s %s: \"%s\" (%dx%d)\n",
captured ? "*" : " ", name, description, width,
height);
}