Compare commits
No commits in common. "master" and "33-lazy-ssh-agent" have entirely different histories.
master
...
33-lazy-ss
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -186,7 +186,7 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
||||
|
||||
[[package]]
|
||||
name = "multi-ssh"
|
||||
version = "0.2.1"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"homedir",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "multi-ssh"
|
||||
version = "0.2.1"
|
||||
version = "0.2.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
|
||||
12
src/main.rs
12
src/main.rs
@ -689,7 +689,7 @@ where
|
||||
let editor_command = shell_words::split(&editor)
|
||||
.map_err(|e| format!("failed to parse editor command: {e}"))?
|
||||
.into_iter()
|
||||
.map(|part| part.replace_with_os_str(FILE_PLACEHOLDER, &downloaded_file_path))
|
||||
.map(|part| part.replace_with_os_str(FILE_PLACEHOLDER, &file_path))
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
ShellCommand::Editor(editor_command)
|
||||
@ -835,14 +835,8 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {
|
||||
match Application::<Prod>::default().run() {
|
||||
Ok(_) => {}
|
||||
Err(e) => {
|
||||
eprintln!("{}", e);
|
||||
std::process::exit(1);
|
||||
}
|
||||
}
|
||||
fn main() -> Result<(), String> {
|
||||
Application::<Prod>::default().run()
|
||||
}
|
||||
|
||||
fn parse_server_configuration<F>(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user