Skip to content

Commit

Permalink
#284 fix compile error for stopAtPositional flag
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Feb 12, 2018
1 parent e39438c commit 7209de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/picocli/CommandLine.java
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ public boolean isStopAtPositional() {
*/
public CommandLine setStopAtPositional(boolean newValue) {
this.stopAtPositional = newValue;
for (CommandLine command : interpreter.commands.values()) {
for (CommandLine command : getCommandSpec().subcommands().values()) {
command.setStopAtPositional(newValue);
}
return this;
Expand Down

0 comments on commit 7209de0

Please sign in to comment.