added --all flags for outputting all events, otherwise, we only print events that have the NotAfter field