WeiZhong94 commented on a change in pull request #10430:
[FLINK-14019][python][cli] Add command-line options for managing Python UDF
environment and dependencies.
URL: https://github.com/apache/flink/pull/10430#discussion_r354731365
##########
File path:
flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
##########
@@ -183,13 +213,19 @@
STOP_AND_DRAIN.setRequired(false);
PY_OPTION.setRequired(false);
- PY_OPTION.setArgName("python");
+ PY_OPTION.setArgName("pythonFile");
PYFILES_OPTION.setRequired(false);
- PYFILES_OPTION.setArgName("pyFiles");
+ PYFILES_OPTION.setArgName("pythonFiles");
PYMODULE_OPTION.setRequired(false);
PYMODULE_OPTION.setArgName("pyModule");
+
+ PYREQUIREMENTS_OPTION.setRequired(false);
Review comment:
The reason of not setting the argument name of these options is that they
are too long and take up too much space on the print result of "./flink run
-h", which makes it very ugly.
----------------------------------------------------------------
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]
With regards,
Apache Git Services