Etixx-QuickStep rider Mark Cavendish just edged out Andrea Guardini to win a sprint finish at the end of the opening stage of the Dubai Tour on Wednesday.