fix(parameter): missing protocol argument (#193)

* fix host split

* rm .idea
This commit is contained in:
Xiaotong Liu 2024-07-19 07:43:10 +08:00 committed by GitHub
parent 716cc7189b
commit 79beba5443
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -29,3 +29,4 @@ dist
.cover .cover
release release
bin bin
.idea

View File

@ -298,6 +298,7 @@ func run(c *cli.Context) error {
Ciphers: c.StringSlice("ciphers"), Ciphers: c.StringSlice("ciphers"),
UseInsecureCipher: c.Bool("useInsecureCipher"), UseInsecureCipher: c.Bool("useInsecureCipher"),
TarDereference: c.Bool("tar.dereference"), TarDereference: c.Bool("tar.dereference"),
Protocol: easyssh.Protocol(c.String("protocol")),
Proxy: easyssh.DefaultConfig{ Proxy: easyssh.DefaultConfig{
Key: c.String("proxy.ssh-key"), Key: c.String("proxy.ssh-key"),
Passphrase: c.String("proxy.ssh-passphrase"), Passphrase: c.String("proxy.ssh-passphrase"),