Skip to content

Commit

Permalink
[FLINK-3189] Fix argument parsing of CLI client INFO action
Browse files Browse the repository at this point in the history
This closes apache#1493
  • Loading branch information
mjsax authored and fhueske committed Jan 12, 2016
1 parent a065ed0 commit a5b0556
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ public static SavepointOptions parseSavepointCommand(String[] args) throws CliAr
public static InfoOptions parseInfoCommand(String[] args) throws CliArgsException {
try {
PosixParser parser = new PosixParser();
CommandLine line = parser.parse(INFO_OPTIONS, args, false);
CommandLine line = parser.parse(INFO_OPTIONS, args, true);
return new InfoOptions(line);
}
catch (ParseException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void testShowExecutionPlan() {
replaceStdOut();
try {

String[] parameters = new String[] { CliFrontendTestUtils.getTestJarPath() };
String[] parameters = new String[] { CliFrontendTestUtils.getTestJarPath(), "-f", "true"};
CliFrontend testFrontend = new CliFrontend(CliFrontendTestUtils.getConfigDir());
int retCode = testFrontend.info(parameters);
assertTrue(retCode == 0);
Expand Down

0 comments on commit a5b0556

Please sign in to comment.