Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
RCasatta committed Mar 13, 2017
2 parents 29c085f + dd16029 commit eace0a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/eternitywall/OtsCli.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public static void main(String[] args) {
// args are the arguments passed to the the application via the main method

if(line.hasOption("c")) {
calendarsUrl.add( line.getOptionValue("c") );
String[] cals = line.getOptionValues("c");
calendarsUrl.addAll( Arrays.asList(cals) );
} else if(line.hasOption("m")) {
m = Integer.valueOf(line.getOptionValue("m"));
} else if(line.hasOption("V")) {
Expand Down

0 comments on commit eace0a3

Please sign in to comment.