Made -d and -n mutually exclusive arguments to prevent confusion.