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


##########
clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoCommandLine.java:
##########
@@ -531,6 +531,16 @@ protected void handleGroupCommand() {
 
     Command.setAuthenticationMode(auth, userName);
 
+    if (CommandActions.LIST.equals(command)) {
+      newListGroups(url, ignore, metalake).handle();
+      return;
+    }
+
+    if (Objects.isNull(group)) {
+      System.err.println("Group is undefined. Please use -g or --group to 
specify a group.");

Review Comment:
   I would just say "Missing --group option." as that is in line with other 
error messages.



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