Fix the option parsing to use getopt, which seems to fix bug #1050
2 files changed