Repository: karaf Updated Branches: refs/heads/karaf-3.0.x be9a38265 -> 600f0b44d
[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/600f0b44 Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/600f0b44 Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/600f0b44 Branch: refs/heads/karaf-3.0.x Commit: 600f0b44d7eafe66dda3258f16f24d977f68d330 Parents: be9a382 Author: Andrea Cosentino <[email protected]> Authored: Fri Feb 26 08:31:17 2016 +0100 Committer: Andrea Cosentino <[email protected]> Committed: Fri Feb 26 08:47:00 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/600f0b44/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 02495f6..4ed4daf 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 @@ -32,13 +32,13 @@ public class SshServerAction extends OsgiCommandSupport implements BlueprintCont { 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)
