snazy commented on code in PR #2961:
URL: https://github.com/apache/polaris/pull/2961#discussion_r2485741990


##########
runtime/admin/src/main/java/org/apache/polaris/admintool/PolarisAdminTool.java:
##########
@@ -36,15 +36,9 @@ public class PolarisAdminTool extends BaseCommand {
 
   @Override
   public Integer call() {
-    return info();
-  }
-
-  private int info() {
     PrintWriter out = spec.commandLine().getOut();
-
     out.println("Polaris administration & maintenance tool.");
-    out.println("Use the 'help' command.");
     out.println();
-    return 0;
+    return spec.commandLine().execute("help");

Review Comment:
   ```suggestion
       spec.commandLine().usage(out);
       return 0;
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to