If the defendant pleads guilty to the charges in the warrant, the proceedings in the case shall then be the same in all respects as now prescribed by law.