Polished command line argument handling.