Skip to content

Commit 4fa0170

Browse files
committed
remove console update command
Signed-off-by: Jimmy Tanagra <[email protected]>
1 parent 076dabb commit 4fa0170

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bundles/org.openhab.automation.jrubyscripting/src/main/java/org/openhab/automation/jrubyscripting/internal/JRubyConsoleCommandExtension.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,9 @@ public class JRubyConsoleCommandExtension implements Command, Completer {
7171
private static final String CONSOLE = "console";
7272
private static final String BUNDLE = "bundle";
7373
private static final String GEM = "gem";
74-
private static final String UPDATE = "update";
7574
private static final String PRUNE = "prune";
7675

77-
private static final List<String> SUB_COMMANDS = List.of(INFO, CONSOLE, BUNDLE, GEM, UPDATE, PRUNE);
76+
private static final List<String> SUB_COMMANDS = List.of(INFO, CONSOLE, BUNDLE, GEM, PRUNE);
7877

7978
private final ScriptEngineManager scriptEngineManager;
8079
private final JRubyScriptEngineFactory jRubyScriptEngineFactory;
@@ -501,7 +500,6 @@ private List<String> getUsages() {
501500
"starts an interactive JRuby console"), //
502501
buildCommandUsage(BUNDLE + " [arguments]", "runs Ruby bundler with the configured Gemfile"), //
503502
buildCommandUsage(GEM + " [arguments]", "manages JRuby Scripting add-on's RubyGems"), //
504-
buildCommandUsage(UPDATE, "updates the configured gems"), //
505503
buildCommandUsage(PRUNE + " [-f|--force]", "cleans up older versions in the .gem directory") //
506504
);
507505
}

0 commit comments

Comments
 (0)