jiasheng55 commented on a change in pull request #14271:
URL: https://github.com/apache/flink/pull/14271#discussion_r540051362
##########
File path:
flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontend.java
##########
@@ -735,6 +829,116 @@ private void disposeSavepoint(ClusterClient<?>
clusterClient, String savepointPa
logAndSysout("Savepoint '" + savepointPath + "' disposed.");
}
+ /**
+ * The '-h' or '--help' action.
+ */
+ protected class ActionHelp implements CommandAction<CommandLineOptions>
{
+
+ @Override
+ public CommandLineOptions parse(String[] args) throws
CliArgsException {
Review comment:
@V1ncentzzZ please check this out to help you understand why I removed
`abstract` of `CommandLineOptions`.
This implementation needs to return an instance of `CommandLineOptions`, but
we do not have a proper type of `CommandLineOptions` to create.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]