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();