mirror of
https://github.com/serokell/deploy-rs.git
synced 2024-11-25 21:13:43 +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";
|
user = "deploy";
|
||||||
deployArgs = "-s .#profile -- --offline";
|
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)]
|
#[clap(long)]
|
||||||
profile_user: Option<String>,
|
profile_user: Option<String>,
|
||||||
/// Override the SSH options used
|
/// Override the SSH options used
|
||||||
#[clap(long)]
|
#[clap(long, allow_hyphen_values = true)]
|
||||||
ssh_opts: Option<String>,
|
ssh_opts: Option<String>,
|
||||||
/// Override if the connecting to the target node should be considered fast
|
/// Override if the connecting to the target node should be considered fast
|
||||||
#[clap(long)]
|
#[clap(long)]
|
||||||
|
Loading…
Reference in New Issue
Block a user