This is an automated email from the ASF dual-hosted git repository. lgoldstein pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
The following commit(s) were added to refs/heads/master by this push: new 2fd8702 [SSHD-1111] Fixed SshClientCliSupport compression option detection 2fd8702 is described below commit 2fd8702928c846f07a925b2b7eaffb953afd7b88 Author: Lyor Goldstein <lgoldst...@apache.org> AuthorDate: Sat Dec 12 18:11:29 2020 +0200 [SSHD-1111] Fixed SshClientCliSupport compression option detection --- CHANGES.md | 1 + .../src/main/java/org/apache/sshd/cli/client/SshClientCliSupport.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 229099b..da9bb6c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -20,6 +20,7 @@ * [SSHD-1109](https://issues.apache.org/jira/browse/SSHD-1109) Route tests JUL logging via SLF4JBridgeHandler * [SSHD-1109](https://issues.apache.org/jira/browse/SSHD-1109) Provide full slf4j logger capabilities to CliLogger + use it in all CLI classes * [SSHD-1110](https://issues.apache.org/jira/browse/SSHD-1110) Replace `Class#newInstance()` calls with `Class#getDefaultConstructor().newInstance()` +* [SSHD-1111](https://issues.apache.org/jira/browse/SSHD-1111) Fixed SshClientCliSupport compression option detection ## Behavioral changes and enhancements diff --git a/sshd-cli/src/main/java/org/apache/sshd/cli/client/SshClientCliSupport.java b/sshd-cli/src/main/java/org/apache/sshd/cli/client/SshClientCliSupport.java index 36df4a4..87bc6d5 100644 --- a/sshd-cli/src/main/java/org/apache/sshd/cli/client/SshClientCliSupport.java +++ b/sshd-cli/src/main/java/org/apache/sshd/cli/client/SshClientCliSupport.java @@ -107,7 +107,8 @@ public abstract class SshClientCliSupport extends CliSupport { || "-o".equals(argName) || "-l".equals(argName) || "-w".equals(argName) - || "-c".equals(argName) + || "-c".equals(argName) // cipher + || "-C".equals(argName) // compression || "-m".equals(argName) || "-E".equals(argName) || "-J".equals(argName);