The program usage outputs -d option twice, though I provide it only once in struct poptOption. This is the usage output:
-d
struct poptOption