allow --ssh-opts that starts with hyphen

This commit is contained in:
Anillc 2024-06-09 03:23:01 +08:00
parent b3ea6f333f
commit ddf42d7238
No known key found for this signature in database
GPG Key ID: 0BE8A88F47B2145C

View File

@ -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)]