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


##########
clients/cli/src/main/java/org/apache/gravitino/cli/Main.java:
##########
@@ -75,7 +75,8 @@ protected static String resolveCommand(CommandLine line) {
         return action;
       }
     } else if (args.length == 1) {
-      return CommandActions.DETAILS; /* Default to 'details' command. */
+      /* Default to 'details' command. */
+      return line.hasOption(GravitinoOptions.HELP) ? CommandActions.HELP : 
CommandActions.DETAILS;

Review Comment:
   There are two type of help. This is the a general help showing the basic CLI 
options. The other is help on each entity type.



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