Abyss-lord commented on issue #5807:
URL: https://github.com/apache/gravitino/issues/5807#issuecomment-2533446463
@justinmclean Hi justin, I currently have two approaches in mind for
implementing this functionality:
- **Directly checking the number of arguments**: If `args` has no elements,
call the `GravitinoCommandLine.displayHelp` to show the help information.
- **Manually adding the --help option**: If no arguments are passed,
explicitly set args to `new String[]{"--help"}` and let the existing logic
handle it.
In your opinion, which approach would be more appropriate? I would
appreciate your feedback on this.
--
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]