flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vasia <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-3560] [examples] Remove unchecked outpu...
Date Tue, 01 Mar 2016 17:06:11 GMT
Github user vasia commented on the pull request:

    https://github.com/apache/flink/pull/1752#issuecomment-190816975
  
    If we remove the default usage printing, I think it would be nice to make sure that all
examples implement `ProgramDescription`. This way, we can get the usage information if we
want to. Otherwise, we would get one message per default parameter. e.g. in the Kmeans example,
we would get:
    ```
    Executing K-Means example with default point data set.
    Use --points to specify file input.
    Executing K-Means example with default centroid data set.
    Use --centroids to specify file input.
    Printing result to stdout. Use --output to specify output path.
    ```
    instead of
    `Usage: KMeans --points <path> --centroids <path> --output <path> --iterations
<n>`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message