set up the cli option parsing