Simplified cmd parser