Github user mxm commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2149#discussion_r68910391
  
    --- Diff: 
flink-clients/src/main/java/org/apache/flink/client/CliFrontend.java ---
    @@ -132,9 +132,9 @@
     
     
     
    -   private final Configuration config;
    +   private Configuration config;
    --- End diff --
    
    Could we make the `configDir` parameter a general parameter that goes 
before `run`, `list`, `cancel`, etc.? Don't know if that is too tricky but it 
would make sense because it is a general configuration key.
    
    `flink --configDir /my/custom/dir run -p 10 /path/to/jar`
    
    That way the config parameter wouldn't have to be listed for every action. 
Would make the help look less verbose.
    
    You could parse the config parameter in the constructor and initialize the 
config only once. Then continue with the normal parsing.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to