Fixed #1: Real args parsing using getopt()