diqidoq: changing from getopt(s) to default while do case for compatibility.