mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 05:50:31 +08:00
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.
This commit is contained in:
@@ -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("<unknown>".into()),
|
||||
.unwrap_or("radicle-node <unknown>".into()),
|
||||
git_remote_rad_version: stdout_of("git-remote-rad", &["--version"])
|
||||
.unwrap_or("<unknown>".into()),
|
||||
.unwrap_or("git-remote-rad <unknown>".into()),
|
||||
git_version: stdout_of("git", &["--version"]).unwrap_or("<unknown>".into()),
|
||||
ssh_version: stderr_of("ssh", &["-V"]).unwrap_or("<unknown>".into()),
|
||||
git_head: GIT_HEAD,
|
||||
|
||||
Reference in New Issue
Block a user