ahmedabu98 commented on code in PR #22276:
URL: https://github.com/apache/beam/pull/22276#discussion_r922274534


##########
sdks/python/apache_beam/options/pipeline_options.py:
##########
@@ -320,6 +320,9 @@ def get_all_options(
       while i < len(unknown_args):
         # Treat all unary flags as booleans, and all binary argument values as
         # strings.
+        if not unknown_args[i].startswith('-'):
+          i += 1
+          continue

Review Comment:
   should we start looking at `i+1`?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to