mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-03 09:53:23 +00:00
Ensure ssh_args in config file is honored
Because the default value is defined for --options parameter, the config file value was always overwritten Only use --options if config file option is not defined and --options is not the default value
This commit is contained in:
parent
26e783be1c
commit
8aaea928d7
3 changed files with 34 additions and 20 deletions
|
@ -307,6 +307,8 @@ sub getopts {
|
|||
# ? $self->{command_options}->{$acc}->{default}
|
||||
# : undef;
|
||||
};
|
||||
my $accessor_default=$accessor.'_default';
|
||||
*$accessor_default = sub { return $default; };
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue