Check for two command-line arguments