Added check for --mark or --set-mark syntax.