detect options that -s(src) and -d(destDir)

detect options that -s(src) and -d(destDir) are mandatory.