Skip to content

Commit

Permalink
client: message tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpanderson committed Aug 21, 2024
1 parent ed714b8 commit 25f17d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions client/client_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,22 +253,22 @@ void CLIENT_STATE::show_host_info() {
msg_printf(NULL, MSG_INFO, "Usable WSL distros:");
for (auto &wsl: host_info.wsl_distros.distros) {
msg_printf(NULL, MSG_INFO,
"- %s: WSL %d%s",
"- %s (WSL %d)%s",
wsl.distro_name.c_str(),
wsl.wsl_version,
wsl.is_default?" (default)":""
);
msg_printf(NULL, MSG_INFO,
"- OS: %s (%s)",
"- OS: %s (%s)",
wsl.os_name.c_str(), wsl.os_version.c_str()
);
if (wsl.is_docker_available) {
msg_printf(NULL, MSG_INFO, "- Docker version %s",
msg_printf(NULL, MSG_INFO, "- Docker version %s",
wsl.docker_version.c_str()
);
}
if (wsl.is_docker_compose_available) {
msg_printf(NULL, MSG_INFO, "- Docker compose version is %s",
msg_printf(NULL, MSG_INFO, "- Docker compose version %s",
wsl.docker_compose_version.c_str()
);
}
Expand Down
4 changes: 2 additions & 2 deletions client/log_flags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ void CC_CONFIG::show() {
if (dont_use_wsl) {
msg_printf(NULL, MSG_INFO, "Config: don't use the Windows Subsystem for Linux");
}
for (i=0; i<allowed_wsls.size(); i++) {
for (string s: allowed_wsls) {
msg_printf(NULL, MSG_INFO,
"Config: allowed WSL: %s", allowed_wsls[i].c_str()
"Config: allowed WSL distro: %s", s.c_str()
);
}
if (dont_use_docker) {
Expand Down

0 comments on commit 25f17d8

Please sign in to comment.