Fix command line parsing for event directory.