1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-12-26 13:38:51 +00:00

Improve formatting

This commit is contained in:
Pierre HUBERT 2021-10-17 13:57:02 +02:00
parent 9cc7797443
commit 765a84ac7f

View File

@ -190,7 +190,7 @@ fn help(_a: Vec<String>) -> Res {
fn list_clients(_args: Vec<String>) -> Res {
for client in api_helper::get_clients()? {
println!(
"Client {}\n* Name: {}\n* Domain: {}\n* Comment: {}\n* Default tokens expiration time: {}\n* Firebase project: {}",
"Client {}\n* Name: {}\n* Domain: {}\n* Comment: {}\n* Default tokens expiration time: {}\n* Firebase project: {}\n\n",
client.id,
client.name,
client.domain.unwrap_or("None".to_string()),