Repository: karaf Updated Branches: refs/heads/karaf-4.0.x d791bc591 -> e5fc4472f
[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/e5fc4472 Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/e5fc4472 Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/e5fc4472 Branch: refs/heads/karaf-4.0.x Commit: e5fc4472fc902c9871069c93880e5628c80e39ec Parents: d791bc5 Author: Andrea Cosentino <[email protected]> Authored: Fri Feb 26 08:31:17 2016 +0100 Committer: Andrea Cosentino <[email protected]> Committed: Fri Feb 26 08:44:39 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/e5fc4472/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)
