Parse command line arguments