mirror of
https://github.com/serokell/deploy-rs.git
synced 2024-11-22 05:04:13 +03:00
Merge pull request #277 from Anillc/patch-1
allow --ssh-opts starts with hyphen
This commit is contained in:
commit
9c3147639c
@ -131,4 +131,9 @@ in {
|
||||
user = "deploy";
|
||||
deployArgs = "-s .#profile -- --offline";
|
||||
};
|
||||
hyphen-ssh-opts-regression = mkTest {
|
||||
name = "profile";
|
||||
user = "deploy";
|
||||
deployArgs = "-s .#profile --ssh-opts '-p 22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null' -- --offline";
|
||||
};
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ pub struct Opts {
|
||||
#[clap(long)]
|
||||
profile_user: Option<String>,
|
||||
/// Override the SSH options used
|
||||
#[clap(long)]
|
||||
#[clap(long, allow_hyphen_values = true)]
|
||||
ssh_opts: Option<String>,
|
||||
/// Override if the connecting to the target node should be considered fast
|
||||
#[clap(long)]
|
||||
|
Loading…
Reference in New Issue
Block a user