Github user mxm commented on the pull request:

    https://github.com/apache/flink/pull/331#issuecomment-71649409
  
    Thanks for your feedback, @rmetzger . The error message is at the bottom 
because that way it is most easily identifiable by the user (no scrolling 
necessary). Before, we printed the error and then the help which let the help 
shadow the error message.
    
    I changed the error reporting in case the user didn't specify an action.
    
    Concerning the printing of the help message, you're probably right. Let's 
just print the help if the user asks for it. Now it prints:
    > "./examples/flink-java-examples-0.9-SNAPSHOT-WordCount.jar" is not a 
valid action.
    > Valid actions are "run", "list", "info", or "cancel".
    
    Additionally, let's 
    * change `info` to print the plan by default
    * change `cancel` to accept the job id as a parameter instead of an option
    * change `list` to print scheduled and running jobs by default


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to