We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b5ebfa + 20261c6 commit 9c31476Copy full SHA for 9c31476
nix/tests/default.nix
@@ -131,4 +131,9 @@ in {
131
user = "deploy";
132
deployArgs = "-s .#profile -- --offline";
133
};
134
+ hyphen-ssh-opts-regression = mkTest {
135
+ name = "profile";
136
+ user = "deploy";
137
+ deployArgs = "-s .#profile --ssh-opts '-p 22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null' -- --offline";
138
+ };
139
}
src/cli.rs
@@ -68,7 +68,7 @@ pub struct Opts {
68
#[clap(long)]
69
profile_user: Option<String>,
70
/// Override the SSH options used
71
- #[clap(long)]
+ #[clap(long, allow_hyphen_values = true)]
72
ssh_opts: Option<String>,
73
/// Override if the connecting to the target node should be considered fast
74
0 commit comments