justinmclean commented on code in PR #5604:
URL: https://github.com/apache/gravitino/pull/5604#discussion_r1849680996


##########
clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoCommandLine.java:
##########
@@ -175,7 +180,9 @@ public static void displayHelp(Options options) {
 
   /** Executes the appropriate command based on the command type. */
   private void executeCommand() {
-    if (entity.equals(CommandEntities.COLUMN)) {
+    if (command.equals(CommandActions.HELP)) {

Review Comment:
   That PR is not merged yet, this is based on code before that. The format of 
the command is `gcli metadata help` so the action is help, and this is not 
using a flag. This is a much simpler command than the owner command as the 
owner command needs to call a different API depending on what entity it is.



-- 
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