commit | 7d07ad69b54937a8f28e0ff9cfb63096ad691fcd | [log] [tgz] |
---|---|---|
author | Mikael Åsberg <m.asberg.watch@gmail.com> | Tue May 25 22:44:59 2021 +0200 |
committer | Thomas Watson <tjwatson@us.ibm.com> | Wed May 26 15:00:55 2021 -0400 |
tree | a8ca529f8d6b60f66a941f2168d3d486b4549355 | |
parent | f3da5f1af34a97ba0f6cb430fd6fbf72f3b5aa22 [diff] |
Bug 573768 - Command equinox:help no longer displays any output The command equinox:help invokes "felix:help" for each command that it has found to display details about the given command. However, recent version of the bundle org.apache.felix.gogo.command (the bundle that implements felix:help) no longer write to System.out directly, but rather returns a formatted string to the caller. Signed-off-by: Mikael Åsberg <m.asberg.watch@gmail.com> Change-Id: Ic6bc56a1d6fc1e21cf13c38ab8da9fc919cfb894 Reviewed-on: https://git.eclipse.org/r/c/equinox/rt.equinox.bundles/+/181022 Tested-by: Thomas Watson <tjwatson@us.ibm.com> Reviewed-by: Thomas Watson <tjwatson@us.ibm.com>
diff --git a/bundles/org.eclipse.equinox.console/src/org/eclipse/equinox/console/commands/HelpCommand.java b/bundles/org.eclipse.equinox.console/src/org/eclipse/equinox/console/commands/HelpCommand.java index 8ee2339..7fc156b 100755 --- a/bundles/org.eclipse.equinox.console/src/org/eclipse/equinox/console/commands/HelpCommand.java +++ b/bundles/org.eclipse.equinox.console/src/org/eclipse/equinox/console/commands/HelpCommand.java
@@ -168,7 +168,7 @@ if (scope != null && !commandName.startsWith(scope + ":")) { continue; } - session.execute("felix:help " + commandName); + System.out.println(session.execute("felix:help " + commandName)); } } catch (IllegalArgumentException e) { handleCommandNotFound();