Intelligent argument parsing