[ https://issues.apache.org/jira/browse/FLINK-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14285573#comment-14285573 ]
Carsten Brandt commented on FLINK-1424: --------------------------------------- Yes, this way it is working. If it is not possible to have both ways, at least documentation and the --help output have to be adjusted. > bin/flink run does not recognize -c parameter anymore > ----------------------------------------------------- > > Key: FLINK-1424 > URL: https://issues.apache.org/jira/browse/FLINK-1424 > Project: Flink > Issue Type: Bug > Components: TaskManager > Affects Versions: master > Reporter: Carsten Brandt > > bin/flink binary does not recognize `-c` parameter anymore which specifies > the class to run: > {noformat} > $ ./flink run "/path/to/target/impro3-ws14-flink-1.0-SNAPSHOT.jar" -c > de.tu_berlin.impro3.flink.etl.FollowerGraphGenerator /tmp/flink/testgraph.txt > 10000 > usage: emma-experiments-impro3-ss14-flink > [-?] > emma-experiments-impro3-ss14-flink: error: unrecognized arguments: '-c' > {noformat} > before this command worked fine and executed the job. > I tracked it down to the following commit using `git bisect`: > {noformat} > 93eadca782ee8c77f89609f6d924d73021dcdda9 is the first bad commit > commit 93eadca782ee8c77f89609f6d924d73021dcdda9 > Author: Alexander Alexandrov <alexander.s.alexand...@gmail.com> > Date: Wed Dec 24 13:49:56 2014 +0200 > [FLINK-1027] [cli] Added support for '--' and '-' prefixed tokens in CLI > program arguments. > > This closes #278 > :040000 040000 a1358e6f7fe308b4d51a47069f190a29f87fdeda > d6f11bbc9444227d5c6297ec908e44b9644289a9 M flink-clients > {noformat} > https://github.com/apache/flink/commit/93eadca782ee8c77f89609f6d924d73021dcdda9 -- This message was sent by Atlassian JIRA (v6.3.4#6332)