You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by me...@apache.org on 2018/04/11 16:48:09 UTC
[beam-site] 01/02: Change first occurance of MyOptions to
PipelineOptions
This is an automated email from the ASF dual-hosted git repository.
mergebot-role pushed a commit to branch mergebot
in repository https://gitbox.apache.org/repos/asf/beam-site.git
commit b40a7c8428b1a642663d12703f439dbdc55371a4
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Wed Apr 11 15:48:26 2018 +0100
Change first occurance of MyOptions to PipelineOptions
---
src/documentation/programming-guide.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/documentation/programming-guide.md b/src/documentation/programming-guide.md
index 6b86743..31db9be 100644
--- a/src/documentation/programming-guide.md
+++ b/src/documentation/programming-guide.md
@@ -139,7 +139,8 @@ To read options from the command-line, construct your `PipelineOptions` object
as demonstrated in the following example code:
```java
-MyOptions options = PipelineOptionsFactory.fromArgs(args).withValidation().create();
+PipelineOptions options =
+ PipelineOptionsFactory.fromArgs(args).withValidation().create();
```
```py
{% github_sample /apache/beam/blob/master/sdks/python/apache_beam/examples/snippets/snippets.py tag:pipelines_constructing_creating
--
To stop receiving notification emails like this one, please contact
mergebot-role@apache.org.