diff --git a/src/servers.cpp b/src/servers.cpp index 36a3d0c..cfe7b7f 100644 --- a/src/servers.cpp +++ b/src/servers.cpp @@ -55,7 +55,7 @@ void list_servers() { auto servers = get_configured_servers(); tableprint tp("All DropShell Servers"); - tp.add_row({"Name", "Address", "Health", "Ports"}); + tp.add_row({"Name", "User", "Address", "Health", "Ports"}); transwarp::parallel exec{servers.size()}; auto task = transwarp::for_each(exec, servers.begin(), servers.end(), [&](const ServerInfo& server) { @@ -71,7 +71,7 @@ void list_servers() { for (const auto& port : ports_used) ports_used_str += std::to_string(port) + " "; - tp.add_row({server.name, server.ssh_host, serviceticks, ports_used_str}); + tp.add_row({server.name, server.ssh_user, server.ssh_host, serviceticks, ports_used_str}); }); task->wait(); tp.print();