Fix incorrect usage of optparse