As per style guide I would recommend #if to check flags (although here it's not that important as the user is not supposed to change this from the command line).