command line arguments parser utilities