diff options
-rw-r--r-- | nix/tests/default.nix | 5 | ||||
-rw-r--r-- | src/cli.rs | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/nix/tests/default.nix b/nix/tests/default.nix index b38e99d..7fe8628 100644 --- a/nix/tests/default.nix +++ b/nix/tests/default.nix @@ -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)] |