Repository: karaf Updated Branches: refs/heads/master 4709cca2f -> 47024fbf2
[KARAF-4363] ssh:sshd command shows default values twice Project: http://git-wip-us.apache.org/repos/asf/karaf/repo Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/47024fbf Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/47024fbf Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/47024fbf Branch: refs/heads/master Commit: 47024fbf2398e2da2567fdcfd5afd4230bae7eac Parents: 4709cca Author: Andrea Cosentino <anco...@gmail.com> Authored: Fri Feb 26 08:31:17 2016 +0100 Committer: Andrea Cosentino <anco...@gmail.com> Committed: Fri Feb 26 08:31:17 2016 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/karaf/shell/ssh/SshServerAction.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/karaf/blob/47024fbf/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/SshServerAction.java ---------------------------------------------------------------------- diff --git a/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/SshServerAction.java b/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/SshServerAction.java index af2dfc7..85528e7 100644 --- a/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/SshServerAction.java +++ b/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/SshServerAction.java @@ -33,13 +33,13 @@ public class SshServerAction implements Action { private final Logger log = LoggerFactory.getLogger(getClass()); - @Option(name = "-p", aliases = { "--port" }, description = "The port to setup the SSH server (Default: 8101)", required = false, multiValued = false) + @Option(name = "-p", aliases = { "--port" }, description = "The port to setup the SSH server", required = false, multiValued = false) private int port = 8101; - @Option(name = "-b", aliases = { "--background" }, description = "The service will run in the background (Default: true)", required = false, multiValued = false) + @Option(name = "-b", aliases = { "--background" }, description = "The service will run in the background", required = false, multiValued = false) private boolean background = true; - @Option(name = "-i", aliases = { "--idle-timeout" }, description = "The session idle timeout (Default: 1800000ms)", required = false, multiValued = false) + @Option(name = "-i", aliases = { "--idle-timeout" }, description = "The session idle timeout in milliseconds", required = false, multiValued = false) private long idleTimeout = 1800000; @Option(name = "-w", aliases = { "--welcome-banner" }, description = "The welcome banner to display when logging in", required = false, multiValued = false)