flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3560) Examples shouldn't always print usage statement
Date Mon, 14 Mar 2016 10:22:33 GMT

    [ https://issues.apache.org/jira/browse/FLINK-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15193047#comment-15193047
] 

ASF GitHub Bot commented on FLINK-3560:
---------------------------------------

Github user uce commented on the pull request:

    https://github.com/apache/flink/pull/1752#issuecomment-196242519
  
    I think Stephan has a point and we should maybe not encourage usage of `ProgramDescription`
in the examples, because we advertise the simple main-method entry point in all the docs.
    
    Other than that, I think it's a good idea to remove the unconditional usage printing.


> Examples shouldn't always print usage statement
> -----------------------------------------------
>
>                 Key: FLINK-3560
>                 URL: https://issues.apache.org/jira/browse/FLINK-3560
>             Project: Flink
>          Issue Type: Improvement
>          Components: Examples
>    Affects Versions: 1.0.0
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>            Priority: Minor
>
> At the moment all our examples print a usage statement no matter whether the parameters
have been provided or not. This can be confusing for people because an usage statement is
usually only printed if one has specified a wrong parameter or if a parameter is missing.
> I propose to remove the unchecked printing of the usage statement.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message