rewrite some arg parsing

Add a convenience method to do the decision about with calendar list to use