justinmclean commented on code in PR #5988: URL: https://github.com/apache/gravitino/pull/5988#discussion_r1897490774
########## clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoCommandLine.java: ########## @@ -775,6 +786,11 @@ protected void handleRoleCommand() { } } + private String getOneRole(String[] roles) { + Preconditions.checkArgument(roles.length <= 1, ErrorMessages.MULTIPLE_ROLE_COMMAND_ERROR); Review Comment: Is this user friendly? And again, I'm not sure this can happen? -- 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: commits-unsubscr...@gravitino.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org