From 0aaa81f82a60d35310c09b518ffb283bf1bb1af4 Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Mon, 28 Jul 2025 11:35:31 +0100 Subject: [PATCH] cli: mention binary names as part of unknown When we fail to get the info for the binary names of `radicle-node` and `git-remote-rad`, we still mention the binary name which is usually a part of their output. --- crates/radicle-cli/src/commands/debug.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/radicle-cli/src/commands/debug.rs b/crates/radicle-cli/src/commands/debug.rs index 21a3f62a..fb43989c 100644 --- a/crates/radicle-cli/src/commands/debug.rs +++ b/crates/radicle-cli/src/commands/debug.rs @@ -71,9 +71,9 @@ fn debug(profile: Option<&Profile>) -> anyhow::Result<()> { rad_exe: std::env::current_exe().ok(), rad_version: VERSION, radicle_node_version: stdout_of("radicle-node", &["--version"]) - .unwrap_or("".into()), + .unwrap_or("radicle-node ".into()), git_remote_rad_version: stdout_of("git-remote-rad", &["--version"]) - .unwrap_or("".into()), + .unwrap_or("git-remote-rad ".into()), git_version: stdout_of("git", &["--version"]).unwrap_or("".into()), ssh_version: stderr_of("ssh", &["-V"]).unwrap_or("".into()), git_head: GIT_HEAD,