Command line argument detection