Grazie. Comuque se utilizzo getopt devo creare delle funzioni per i cicli for giusto?