spider can parse -u and -d with optparse