Parse command line arguments another method