Update command line argument detection