solves #10. Since getopt changing it was expecting .